Text Utilities
11 free tools
Format JSON, XML, HTML and SQL, minify JSON and CSS, remove duplicate lines, count words and characters, and generate placeholder text and passwords.
Text and code tidying tools: format JSON, XML, HTML and SQL so they are readable, minify JSON and CSS, remove duplicate lines, count words and characters, generate placeholder text and create random passwords. Each tool has a guide describing exactly what it does, including cases where the output may need a manual check.
The formatters work on the text you paste, in your browser. They make layout changes only and do not validate your content, so use a dedicated validator when correctness matters.
Text Formatters6
JSON Formatter
Pretty-print JSON with real 2-space indentation using the browser's native JSON parser — shows the exact parse error if your JSON is invalid.
JSON Minifier
Compress JSON to its smallest valid form by removing all whitespace, using the native JSON parser.
XML Formatter
Reformat XML with proper nested indentation based on tag depth — a lightweight tag-based indenter, not a full XML parser.
HTML Formatter
Reformat HTML with proper nested indentation based on tag depth — a lightweight tag-based indenter, not a full HTML parser.
CSS Minifier
Compress CSS by stripping comments, collapsing whitespace, and removing unnecessary spaces around punctuation.
SQL Formatter
Reformat SQL by inserting a line break before each major keyword — a broad keyword list covering joins, clauses, and DDL statements.
Text Cleaners1
Text Counters2
Text Generators2
Lorem Ipsum Generator
Generate classic Lorem Ipsum placeholder paragraphs for design mockups — enter a number to repeat the standard paragraph that many times.
Password Generator
Generate a random password using the browser's cryptographically secure random number generator, mixing uppercase, lowercase, digits, and symbols.