JSON & Code Tools
HTML Formatter
Paste minified or messy HTML and get a clean, properly indented version — script, style and pre content is left untouched.
- Runs in Your Browser
- Instant Results
- 100% Private
Learn More
What Is an HTML Formatter?
An HTML formatter takes minified or messily-indented HTML markup and rewrites it with clean, nested indentation reflecting the document's actual tag structure, while leaving the contents of
JSON & Code Tools
Related Tools
Need Something Else?
Explore the full collection of free PDF tools and find the one that fits your next task.
Explore All ToolsKeyboard Shortcuts
- /
- Focus search
- Ctrl + K
- Focus search
- ↑ ↓
- Move through search suggestions
- Enter
- Go to the highlighted result
- Esc
- Close search, menus and dialogs
- ?
- Show this dialog