Text formatting tools
Paste text, get it formatted. Every tool runs entirely in your browser, so nothing you paste is uploaded.
Press ⌘KCtrlK to find a tool by name.
Escape & Encode, 9 tools
JSON Escape / Unescape
Turn text into a valid JSON string literal, or decode one back to plain text.
Also: JSON Unescape
URL Encode / Decode
Percent-encode text for a URL, or decode a percent-encoded string.
Also: URL Decode
Base64 Encode / Decode
Encode text as Base64, or decode Base64 back to text.
Also: Base64 Decode
HTML Escape / Unescape
Escape text for HTML, or decode entities back to characters.
Also: HTML Unescape
JavaScript Escape / Unescape
Escape text as a JavaScript string literal, or decode those escapes.
Also: JavaScript Unescape
XML Escape / Unescape
Escape text for an XML document, or decode XML entities.
Also: XML Unescape
CSV Escape / Unescape
Escape one field for a CSV file, or read a CSV field back to text.
Also: CSV Unescape
SQL Escape / Unescape
Escape text for a SQL string literal, or decode that literal.
Also: SQL Unescape
Java / .NET Escape
Escape text for a Java or C# string literal, or decode one.
Also: Java / .NET Unescape
Convert, 10 tools
Markdown to HTML
Convert Markdown to clean HTML with a live preview. GitHub tables, task lists and footnotes included.
Markdown to DOCX
Convert Markdown to a Word document (.docx) with a page preview. Tables, lists, footnotes and heading styles included.
JSON ↔ YAML
Convert JSON to block YAML, or a YAML subset back to JSON.
Also: YAML to JSON
XML ↔ JSON
Convert an XML element tree to JSON, or JSON back to XML.
Also: JSON to XML
CSV to JSON
Convert a CSV table into a JSON array.
CSV to XML
Convert a CSV table into an XML document.
Epoch ↔ Date
Turn a Unix timestamp into a UTC date, or a date into a timestamp.
Also: Date to Epoch
HTML to Word
Turn a simple HTML fragment into a Word document.
CSV to Word Table
Turn a CSV table into a Word document with one table.
PNG to SVG
Turn a PNG, JPEG, GIF, BMP or WebP into an SVG drawing.
Format & Minify, 6 tools
JSON Beautify / Minify
Pretty-print JSON with two-space indent, or minify it to one line.
Also: JSON Minify
XML Beautify / Minify
Indent well-formed XML, or minify it onto one line.
Also: XML Minify
HTML Beautify / Minify
Indent HTML elements, or minify markup without changing text.
Also: HTML Minify
SQL Beautify / Minify
Break a SQL statement onto clause lines, or collapse it to one line.
Also: SQL Minify
CSS Beautify / Minify
Indent CSS rules, or minify a stylesheet.
Also: CSS Minify
JavaScript Beautify / Minify
Reindent JavaScript, or strip comments and extra whitespace.
Also: JavaScript Minify
Validate, 4 tools
JSON Validator
Check that text is valid JSON and report the first syntax error.
XML Validator
Check that XML is well-formed and point at the first error.
Regex Tester
Test a JavaScript regular expression against text and list the matches.
Cron Helper
Explain a cron expression and list the next run times in UTC.
Generate, 4 tools
Hash / HMAC
Hash text with SHA, or sign it with HMAC, using WebCrypto.
Also: SHA-512 Hash, SHA-1 Hash, HMAC-SHA256
Lorem Ipsum
Generate placeholder words, sentences or paragraphs.
Also: Lorem Sentences, Lorem Words
UUID Generator
Generate version-4 UUIDs from cryptographic random bytes.
QR Code
Encode text as a QR code and show it as an image.