Skip to content
Your text never leaves your browser

Scratchpad

Text tools that mind their own business.

JSON Formatter Format, minify, validate Paste messy JSON, get clean JSON. Format, minify, or validate in one click. YAML Formatter Format and validate YAML Parse and reformat YAML with consistent indentation. Catches structural problems too. XML Formatter Pretty-print XML Pretty-print XML into something a human can actually read. Hash Generator SHA-1, SHA-256, SHA-384, SHA-512 Generate SHA-1, SHA-256, SHA-384, and SHA-512 hashes using the Web Crypto API. Diff / Compare Compare two texts Paste two texts and see exactly what changed. Line-level, word-level, or character-level. Regex Tester Test with match highlighting Write a pattern, paste a test string, see matches highlighted inline. /.*/ URL Encode/Decode Encode or decode URLs Percent-encode URLs or decode them back. Handles full URLs and components. Markdown Preview Render Markdown live Type Markdown on the left, see it rendered on the right. Live. Base64 Encode/Decode Encode or decode Base64 Encode text to Base64 or decode it back. Handles UTF-8. JWT Decoder Decode and inspect tokens Split a JWT into header, payload, and signature. See what's actually in there. Text Case Converter UPPER, lower, Title, camelCase, more Seven case options from fixing caps lock to generating variable names. Aa Word Counter Words, chars, reading time Paste text, see the numbers. Updates live as you type. 123 Lorem Ipsum Generate placeholder text Placeholder text by paragraphs, sentences, or words. Find & Replace Search and replace with regex Literal or regex matching with case-sensitivity toggle. Text Repeater Repeat text N times Enter text, set a count and separator, get duplicates. Line Sorter Sort, deduplicate, shuffle Sort lines A-Z, remove duplicates, or shuffle randomly. Text to Slug URL-safe slugs Lowercase, hyphens, no special characters. URL-ready. Unicode Text Generator Bold, Italic, Script, Fraktur, Circled Transform plain text into Unicode styles you can paste anywhere. 𝐔 Color Converter HEX, RGB, HSL Type a color in any format, see it in every format with a live preview. Timestamp Converter Unix, ISO 8601, human-readable Convert between Unix timestamps, ISO 8601, and human-readable dates. Number Base Converter Decimal, hex, binary, octal, base36 Enter a number in any base, see it in all of them. Handles big numbers. 0x CSV → JSONJSON → CSVJSON → XMLXML → JSONJSON → YAMLYAML → JSONCSV → XMLXML → CSVTSV → CSVTable Generator

How this works

Every tool runs entirely in your browser. There's no server behind this. No database, no accounts, no analytics tracking what you paste. Your text goes into a JavaScript function on your machine and the result shows up on your screen. That's the whole architecture.

We built this because most online tools want your email before they'll format your JSON. Or they're "free" but your data takes a round trip through someone else's infrastructure. Scratchpad skips all of that. The code runs client-side. You can verify it yourself (View Source still works, we checked).

Works offline too, once the page loads. Airplane mode, sketchy hotel wifi, that one conference room where nothing connects. The tools don't care. They already have everything they need.