Format HTML
Insert confusing source code – or reduce it for delivery. Both are done here in the browser; the code does not leave your computer.

How it works
Read HTML again clearly
- Insert HTML source text
- Choose indentation or reduction
- Copy formatted code
What to Consider
The content of <pre> and <textarea> Each space is visible there – a formatter that “cleans it up” changes the representation.
For the same reason, elements in the text flow like <a> or <strong> not set on your own lines: A break between word and link creates an additional space in the browser.
When downsizing, comments are omitted—conditional comments for old Internet Explorer versions stop because they’re instructions and not notes. The gain is usually modest once the server compresses; the actual weight is almost always on images and scripts.
How much your page actually transfers shows the Website check .
When Engaging Really Helps
Not when it comes to delivery - the formatting is indifferent to the browser. It helps with reading and searching: In indented markup, you can see at a glance which </div> This is the most common reason why a layout falls apart “suddenly” – an element was closed one layer too early, and no one notices it in a single long line.
The second case is the comparison of two versions. If everything is on a line, each comparison tool reports "this one line has changed" - and you look for the actual change by hand. Formatted line-by-line, the same comparison shows three changed lines.
Formatting is not testing
A formatter cleans up what's there. Whether the markup is valid, it doesn't say: a missing closing element, a double id- Attributes or nested paragraphs remain just as faulty after indentation – only neatly indented. Both belong together, in this order: first format, then have checked.
Other tools
From ‘Source code and server” and related categories. Free, with no sign-up.

Format CSS
Make minified CSS readable again, or minify it for delivery.
Open tool
Format JSON
Validate, format or minify JSON, with the line, column and exact error location.
Open tool
Encode a URL
Encode or decode URLs and parameters, and inspect their individual components.
Open tool
Create .htaccess
Configure redirects, HTTPS, compression and access protection for Apache with a few clicks.
Open tool
Joomla template generator
Customise 62 templates by industry and layout, adjust colours and module positions, and download a ready-to-install ZIP for Joomla 4 and 5.
Open tool
Resize images
Resize to fixed dimensions or a percentage, and optionally convert to another format.
Open tool