HTML Viewer
Paste HTML and watch it render live in a sandbox, at laptop, tablet or phone width.
Re-indent HTML copied from DevTools, a CMS export or a minified build. Inline <style> and <script> blocks get formatted too.
Paste or type to begin. Everything runs in your browser.
How it works
Paste HTML, drop an .html file onto the input, or load the sample.
Choose an indent and whether long lines wrap at 80 or 120 characters.
Copy the clean markup or download it as an .html file.
FAQ
Almost never. Only whitespace between tags changes.
Yes. Nested tables get the same indentation, which makes them far easier to follow. To see how the email renders, use the Email HTML Previewer.
Missing something?
Describe the job and the file types involved. The most requested tools get built first.