Viewport Meta Tag Generator

Make the tag that tells phones how wide to show your page, so it fits the screen.

1 Fill in the boxes

2 Your answer

Your answer shows here as you type.

How to use the Viewport Meta Tag Generator

  1. Keep fit to the screen for most sites.
  2. Pick a set width only if your page is built for one size.
  3. Copy the tag into the head section of your page.

Frequently asked questions

Where does the tag go?

Paste it inside the head section of your page, near the top.

Why is fit to the screen recommended?

It lets the page shrink and grow with the phone or screen, so text stays easy to read on every device.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.