Free Online Formatting Tools 20 tools
Formatting tools tidy up the code and data you deal with every day. Prettify minified or messy JSON, XML, HTML, CSS, SQL, and YAML into readable, consistently indented output, or go the other way and minify JavaScript, CSS, and JSON for production. Convert between formats that refuse to play nicely together: CSV to JSON, JSON to CSV, HTML to Markdown, and Markdown tables that align perfectly. You'll also find helpers for escaping and unescaping HTML entities and strings, parsing URLs into their components, converting Unix timestamps, and aligning messy log files. Every formatter runs locally in your browser, so even sensitive snippets of code or data never leave your machine. Paste your input, and formatted output appears instantly with a one-tap copy button.
JSON Formatter
Prettify, validate, and minify JSON with a clean side-by-side interface.
XML Formatter
Prettify and validate XML documents with customizable indentation.
HTML Formatter
Beautify minified or messy HTML into readable, indented markup.
CSS Formatter
Prettify compressed CSS into readable rules with consistent indentation.
SQL Formatter
Beautify SQL queries with configurable keyword casing and indentation.
JS / JSON Minifier
Minify JavaScript and JSON to shrink file size for production.
CSS Minifier
Minify CSS by removing whitespace and comments to reduce file size.
SVG Code Optimizer
Clean and compress SVG markup by stripping comments and excess whitespace.
YAML Formatter
Parse, validate, and format YAML with a readable, consistent style.
Markdown Table Formatter
Align and clean up Markdown tables for consistent, readable columns.
CSV to JSON Converter
Convert CSV data into JSON arrays or objects with delimiter options.
JSON to CSV Converter
Convert JSON arrays into clean CSV with headers generated automatically.
List Formatter
Transform a plain list into bullets, numbered, comma-separated, or JSON format.
Indentation Fixer
Auto-indent code with spaces or tabs and detect the dominant indentation.
Unescape HTML Entities
Convert HTML entities like & and < back into their character forms.
Escape HTML Entities
Escape special characters into HTML entities for safe inline display.
URL Parser
Break any URL into protocol, host, path, query, and hash components.
Timestamp Formatter
Convert Unix timestamps to readable dates and back, in your timezone.
Log File Formatter
Align and pretty-print log lines by padding values and aligning key columns.
String Escaper
Escape and unescape strings for JavaScript, JSON, and shell contexts.