Skip to content
Free tool · runs in your browser

HTML checker

A pre-flight check for a page you are about to share: the mistakes that make HTML look fine on your computer and broken on everyone else's, listed with the fix for each.

Why a page works on your computer but not online

When you double-click an .html file, the browser loads it from your disk with very forgiving rules: it can reach any file on your computer, nothing is case-sensitive on Windows or macOS, and there is no HTTPS to enforce. Put the same file on a web server and three things change at once — paths are resolved against a URL, file names become case-sensitive, and an https:// page refuses to load anything over plain http://. This checker looks for exactly those differences, plus the missing head tags that make a page look wrong on a phone.

What each check means

FindingWhat breaksFix
Local paths (file://, C:\, /Users/)Images, CSS or scripts never load for anyone elseUse relative paths and upload the files together
Backslashes in paths404s on every web serverReplace \ with /
http:// resourcesBlocked as mixed content on HTTPSSwitch to https://
No viewport metaPage renders tiny on phonesAdd the viewport tag
No charsetGarbled accents and emojiAdd <meta charset="UTF-8">
Unclosed tagsLayout collapses or content disappearsClose the tag where the block ends
Duplicate IDsJavaScript targets the wrong elementMake every id unique

Checking a whole folder or ZIP

This page checks one HTML document. For a multi-file site, the ZIP site checker opens the whole archive in your browser and verifies that every referenced file actually exists, with the exact case. The troubleshooting guide goes through each failure in depth.

Related guides

Frequently asked questions

Is this a full W3C validator?

No. The W3C validator reports every deviation from the spec; this checker focuses on the problems that visibly break a shared page — paths, mixed content, mobile head tags and unclosed elements — and tells you how to fix each one.

Does it check that my links work?

It lists relative files your page references so you can make sure they are uploaded too. To verify them against the actual files, use the ZIP site checker.

Is my code sent anywhere?

No. The check runs entirely in your browser with the built-in DOMParser.

More free tools

Your HTML deserves a real link

Paste code, drop a file, a ZIP or a whole folder — get a live URL with your own address, an optional password and a QR code. Free to start with Google sign-in; paid plans keep links online for good.

Turn HTML into a link