Code & Markup tools
Format SQL and XML, encode HTML, and minify HTML, CSS, and JavaScript.
Format messy SQL into readable, indented queries — or minify it back down.
Indent XML for reading or minify it for transport, with unbalanced tags reported by line number.
Escape &, <, >, quotes, and non-ASCII characters as HTML entities, or decode named and numeric entities back to text.
Shrink HTML by collapsing whitespace and stripping comments, while leaving pre, textarea, script, and style content untouched.
Minify CSS by removing comments, collapsing whitespace, and dropping trailing semicolons — strings and url() values preserved.
Remove comments and insignificant whitespace from JavaScript with a tokenizer that respects strings, template literals, and regex.