Encode, decode, and convert strings across 8 formats in one unified interface. Paste text, pick a format, and see results instantly — no server round-trips required.
Pro tip: Use "Auto-Detect & Decode" to automatically identify and decode encoded strings.
Batch Processing
Paste multiple strings (one per line) and encode / decode them all at once.
Batch Processing
Encode or decode multiple strings at once — one per line.
Encoding Chain
Apply multiple encodings in sequence. Build a pipeline to debug deeply-encoded strings.
Encoding Chain
Apply multiple encodings in sequence to debug deeply-encoded strings.
Understanding Text Encoding
Text encoding transforms data from one representation to another. Whether you're embedding images in HTML, passing parameters in URLs, or debugging API payloads, understanding encoding formats is essential for modern web development.
Base64 Encoding
Base64 converts binary data to a 64-character ASCII alphabet (A-Z, a-z, 0-9, +, /). It's widely used for embedding images in CSS (data: URIs), email attachments (MIME), and transmitting binary data through text-only channels. The URL-safe variant replaces + and / with - and _ to avoid conflicts in URLs.
URL Encoding (Percent-Encoding)
URL encoding replaces unsafe characters with %XX hex sequences. Spaces become %20 (or + in form data), and reserved characters like &, =, and ? are encoded to prevent ambiguity in query strings. Double encoding — encoding an already-encoded string — is a common bug that produces strings like %2520 instead of %20.
HTML Entities
HTML entities represent special characters that would otherwise be interpreted as markup. The five essential entities are <, >, &, ", and '. Extended entities like ’ (curly apostrophe) and — (em dash) handle typography and international characters.
Hex & Binary
Hexadecimal represents each byte as two characters (0-9, A-F), making it compact for displaying binary data. Binary representation uses 8 bits per character and is fundamental to understanding how computers store text. Both formats are essential for low-level debugging and protocol analysis.
Unicode Escape Sequences
Unicode escapes like \u0041 (the letter A) allow representing any Unicode character in ASCII-safe source code. JavaScript uses \uXXXX notation, while the U+XXXX format is the standard Unicode reference. These are essential when working with internationalized content or emoji in code.
Looking for related developer tools? Our JWT Decoder & Inspector provides a dedicated interface for inspecting JSON Web Token claims and expiry, and our Hash Generator handles MD5, SHA-1, SHA-256, and SHA-512 one-way hashing. Explore all Dev & Tech tools.