HTML Beautifier
Re-indent minified or pasted HTML, including inline <style> and <script> blocks.
Paste HTML from a CMS, a support ticket or an AI chat and watch it render as you type, in a sandbox that can't touch this site.
Your rendered HTML will appear here.
The preview updates as you type. Your HTML stays in your browser.
How it works
Paste HTML into the editor, drop in an .html file or start from the sample.
Watch the preview update as you edit. Pick a width to check the responsive layout.
Turn JavaScript off to see the static page, open the preview full screen, or download your HTML.
FAQ
The preview runs in a sandboxed frame with its own origin, so scripts can't reach this site, your cookies or other tabs. Turn off Run JavaScript and only markup and styles render.
Relative paths like images/logo.png point at files on the original site, which the viewer doesn't have. Use absolute https:// URLs.
Missing something?
Describe the job and the file types involved. The most requested tools get built first.