InputTestHub

Meta Viewport Generator

Builds the correct viewport meta tag for responsive pages and explains what each property does.

Developer Nothing uploaded No sign-up Free, unlimited
Developer tool
Fill in the fields and press Generate.
In short Meta Viewport Generator is a free online tool on inputtesthub.com that builds the correct viewport meta tag for responsive pages and explains what each property does. It needs no account, no download and no payment, and there is no daily usage limit. Everything is processed inside your own browser, so the data you paste is never uploaded to a server.

How to use the Meta Viewport Generator

  1. Fill in the fields with your own details.
  2. The generated code updates live in the output panel.
  3. Copy the code and paste it into your page, file or CMS.

About the Meta Viewport Generator

The Meta Viewport Generator builds the correct viewport meta tag for responsive pages and explains what each property does. It runs as plain JavaScript inside the page, which means there is no upload step, no queue and no size limit imposed by a server — the only limit is your own device.

What people use it for

  • Setting up a new page correctly on mobile.
  • Fixing a site that renders zoomed out on phones.
  • Handling safe areas on notched devices.
Blocking pinch zoom fails WCAG 1.4.4 and makes the page unusable for anyone with low vision. Leave zoom enabled unless you have a genuinely unavoidable reason.

Frequently asked questions

Is the Meta Viewport Generator free, or is there a paid tier?
Free, unlimited, and no email address required. You can use it a hundred times a day and nothing changes.
Is what I paste into the Meta Viewport Generator stored?
No. The Meta Viewport Generator runs entirely in your browser using JavaScript. Because the work happens locally, the tool also keeps working if your connection drops, and closing the tab is all it takes to discard everything.
What is the Meta Viewport Generator used for?
The jobs it is built for: setting up a new page correctly on mobile. Fixing a site that renders zoomed out on phones. Handling safe areas on notched devices. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
What do people usually get wrong here?
Blocking pinch zoom fails WCAG 1.4.4 and makes the page unusable for anyone with low vision. Leave zoom enabled unless you have a genuinely unavoidable reason.
Is there an app version?
Yes. The page is responsive and the tool works in Chrome, Safari, Firefox, Edge and Samsung Internet on both Android and iOS. There is no app to install and nothing to sign into.

Related developer tools

All 92
01

Cron Expression Generator

Builds a cron expression from plain choices — every N minutes, weekdays only, a specific time…

02

ASCII Table

A searchable ASCII and extended ASCII reference with decimal, hex, octal, binary and HTML…

04

MIME Type Lookup

Finds the MIME type for any file extension and the extensions matching any MIME type.

05

Port Number Lookup

Searchable reference of well-known and registered TCP and UDP ports and the services that use…

07

Random JSON Data Generator

Generates realistic mock JSON data — names, emails, addresses, dates, prices — from a schema…

09

HTML Entity Lookup

Searchable table of HTML entities with their named, decimal and hexadecimal forms and a live…