+ +

Free tool · HTML tester and previewer

Free online HTML tester

Preview your HTML at desktop, tablet and phone widths, and get a short list of what to fix before anyone else sees it.

+ +
Drop an .html file here · saved in this browser
Preview
  • ✓ ok Doctype Starts with <!doctype html>, so browsers use standards mode.
  • ✓ ok Title “Product one-pager”
  • warn Viewport meta No <meta name="viewport">. Phones will show a shrunken desktop layout.
  • ✓ ok Tags Every element that needs a closing tag has one, in order.
  • warn Image alt text 1 image without an alt attribute. Screen readers cannot describe it.
  • ✓ ok Console errors No errors logged while the preview ran.
✓Your page live in seconds ✓An unlisted link you can send anyone ✓Claim it free to keep it live

Published free with no signup, the page is live for 7 days; sign up free to keep it. A published page is public to anyone with the link and noindex.

+ +

What it checks

Six checks for the problems that actually break pages

The checks run in your browser on every edit. They cover what most often goes wrong in AI-built and hand-edited HTML, not every rule in the standard.

Doctype

Without <!doctype html> at the top, browsers switch to quirks mode, and sizes, margins and tables can come out different from what you designed.

Title

The <title> names the browser tab and the preview card when the link is shared in a chat. A missing one shows the bare address.

Viewport meta

Without <meta name="viewport">, phones draw the page at desktop width and shrink it, so text is tiny. Check it with the Mobile width.

Unclosed and mismatched tags

A missing </div> or </a> lets one element swallow the next, so a footer can end up inside a column. Close tags HTML lets you skip, such as </p> and </li>, are not counted.

Images without alt

Screen readers say nothing useful for an image without alt text. Decorative images should still have alt="".

Console errors

Script errors and rejected promises raised while the preview runs, with their line number. A page can look right and still have a broken button.

+ +

Related tools

After the test

HTML viewer

Just want to see the page, large? Paste or drop it into the viewer.

View HTML →

HTML runner

Chasing a script bug? Run the page and read every console line.

Run HTML →

HTML editor

Fix it with separate HTML, CSS and JS tabs and a formatter.

Edit HTML →

HTML to website

Passed the checks? Put it online as a website with its own address.

HTML to website →
+ +

HTML tester FAQ

Paste it into the editor above, or drop the .html file on it. The preview renders it, and the Checks panel under the preview lists anything to fix, with line numbers for tag problems. Switch between Desktop, Tablet and Mobile to see the layout at each width. The checks update as you edit, so you can fix and watch the list shrink.