Code Beautifier

Encoding, Regex & Text

Encode, decode, diff, and generate: Base64, URLs, HTML entities, regular expressions, UUIDs, timestamps, and colors.

Tools (20)

Base64 Encode & Decode
Encode plain text to Base64 or decode Base64 strings to UTF-8 text with URL-safe encoding and automatic JSON formatting.
Base64 Image & Data URI Converter
Convert between raw Base64 strings, Data URIs, HTML <img> tags, and CSS background rules with automatic MIME detection.
URL Encode & Decode
Encode, decode, or parse URL query strings and percent-encoded query parameters instantly.
URL Parser & Params Builder
Deconstruct URLs into protocol, host, port, path, hash, and structured query parameters with full decoding.
HTML Entity Encoder & Decoder
Convert special characters to named, decimal, or hex HTML entities and decode encoded HTML entities back to raw text.
Number Base & Radix Converter
Convert numbers instantly between Decimal, Binary, Hexadecimal, Octal, and ASCII with bit-length analysis.
Regex Tester
Test, debug, and validate Regular Expressions in real-time with capturing group extraction and flag controls.
Regular Expression Generator
Generate battle-tested regular expressions with explanation, flags, test cases, and code snippets in JavaScript, TypeScript, Python, and Go.
Diff Checker
Compare two text or code snippets side-by-side to highlight added, removed, and modified lines instantly.
Unified Patch
Generate git-style unified diffs, structured patch JSON, or apply a patch to original text — fully offline.
UUID / ULID / NanoID
Generate or inspect UUID v4/v7, ULID, and NanoID identifiers in bulk — cryptographically random, fully offline.
Timestamp Converter
Convert Unix epoch seconds and milliseconds to human-readable UTC & Local date-time formats instantly.
Color Converter
Convert between HEX, RGB, RGBA, and HSL color formats with channel breakdowns and CSS variable exports.
QR Code Generator
Generate clean, customizable vector SVG QR codes from URLs, text, Wi-Fi keys, and tokens.
Gzip Size Estimator
Measure uncompressed vs Gzip/Brotli compressed byte sizes and bandwidth savings directly in your browser.
Case Converter
Convert identifiers and text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, and URL slugs.
Sort & Remove Duplicate Lines
Sort lines naturally or alphabetically, remove duplicates keeping the first or last, reverse, or shuffle, with line endings preserved.
String Escape & Unescape
Escape text for a string literal in JavaScript, Java, C#, Python, Go, SQL, CSV, or a regular expression, and unescape it back.
Text to Hex & Binary
Convert text to UTF-8 hex or binary and decode it back, accepting plain, spaced, \xNN, %NN, and 0xNN input.
String Inspector
Count graphemes, code points, and UTF-8 bytes, and reveal bidi controls, zero-width characters, unusual spaces, and mixed-script words.

Cheat sheets

Guides