Base64 Encode / Decode
Encode text to Base64, or decode it back.
Encode and decode HTML entities such as & and ©.
HTML entity encoding turns special characters into safe entity references. Encode: turns < > & " into entities Decode: turn entities back into characters Covers 37 common HTML entities
These 41 named entities are exactly what the encoder knows; every other character passes through untouched, and anything finer you write yourself as a numeric reference (é or é). Decoding is broader — it goes through the browser HTML parser, so all of HTML5’s two thousand-odd named entities resolve.
Encoding covers a fixed table: the five basics (& < > " and the apostrophe) plus some thirty common symbols and Greek letters such as ©, €, → and α.
Characters outside the table pass through unchanged rather than becoming a run of &#xxxx; numeric entities — keeping the literal character is usually more readable.
Decoding is delegated to the browser parser (a textarea understands every HTML entity plus { and 😀 forms); without a browser it falls back to the built-in table.
Paste text with special characters
The usual case is putting an & or < into HTML without it being parsed as markup.
See what was converted
Table entries become named entities; CJK and other characters stay literal.
Decode back
Paste an HTML fragment with entities to restore the characters; numeric entities work too.
The table only holds symbols and Greek letters. Turning CJK into &#xxxx; makes the source unreadable, and UTF-8 Chinese in HTML is perfectly valid.
It parses once, browser-style: & becomes &, so the result is the literal text ' rather than an apostrophe. Write ' directly when you want the apostrophe.
Encode text to Base64, or decode it back.
Produce URL-safe Base64 without padding characters.
Encode or decode text using the Base32 alphabet.
Encode or decode numbers and text in Base36.
Encode or decode with Base58, the alphabet Bitcoin addresses use.
Turn text into its 0 and 1 representation.