How can I make name tags invisible in Minecraft Java Edition 1.15.2?

To
3

How can I make name tags invisible in Minecraft Java Edition 1.15.2?

is

If it is only for a screenshot, you can press f1 until you get to the perspective where you can no longer see the hotbar, crosshairs and name tags.

Be
1

Do you mean the names of players or the names of animals

gl

If you mean the day of animals, you can simply give a day instead of the name day, because this is the so-called name of the animal, but is not displayed for the animal.

If you mean the name of the player, then I can only help you with plugins