Online Formatters & Validators for Developers
Formatters take code or text that works but is hard to read — a minified API response, a one-line SQL query, CSS copied from a CDN — and lay it out consistently so you can review it, diff it or debug it. Most of them also validate as they format: the JSON Formatter points at the exact line and column of a syntax error, the Markdown checker flags broken links and headings, and the DNS validator explains what is wrong in an SPF or DMARC record. Everything runs locally in your browser, so you can paste production data, secrets in config files or customer records without sending them to a server.
Formatters
10 toolsJSON Formatter
Format, validate and minify JSON instantly, with per-line error detection.
/tools/json-formatterHTML, CSS & JS Beautifier and Minifier
CodePressBeautify and minify HTML, CSS and JavaScript with configurable rules.
/tools/codepressSQL Formatter
QueryTidyTurn long SQL statements into something readable, with clause highlighting.
/tools/querytidySVG Cleaner & XSS Sanitizer
SVG PurifierStrip scripts, event handlers and editor metadata from SVG markup, and shrink file size.
/tools/svg-purifierDNS Record Validator
Validate SPF, DKIM and DMARC TXT records with a plain-English breakdown.
/tools/dns-record-validatorText Cleaner & Formatter
Text FormatterClean up messy pasted text — fix spacing, punctuation and capitalization instantly.
/tools/text-formatterLine Sorter & Deduplicator
Sort, deduplicate and clean up lists of text instantly.
/tools/line-sorterBulk String Replacer
Apply an ordered list of find-and-replace rules to your text in one pass.
/tools/bulk-string-replacerIndent Fixer
Detect mixed tabs and spaces, then normalize indentation to your target width.
/tools/indent-fixerMarkdown Syntax Checker
Paste Markdown and get broken links, header issues and malformed lists flagged by line number.
/tools/markdown-checkerWhich one do I need?
- Need to read or validate an API response? Use the JSON Formatter.
- Got a one-line SQL query from a log? Use the SQL Formatter.
- Need to beautify or minify HTML, CSS or JavaScript? Use the HTML, CSS & JS Beautifier and Minifier.
- Mixed tabs and spaces breaking your YAML or Python? Use the Indent Fixer.
- Email landing in spam? Check your SPF, DKIM and DMARC records with the DNS Record Validator.
- Accepting SVG uploads from users? Use the SVG Cleaner & XSS Sanitizer.