Encode & decode: 73 free online tools
These tools turn text into a safe coded form and back again. Use them for Base64, URL encoding, hex, ASCII, escaped strings and similar jobs. Everything runs in your browser, so nothing is uploaded.
- Base64 Encode and DecodeED-01Encode text to Base64 or decode it back, with full UTF-8 support.
- URL Encode and DecodeED-02Percent-encode text for a URL, or decode it back.
- JWT DecoderED-03Read a JSON Web Token's header, payload and expiry.
- Base32 Encode and DecodeED-04Encode text to Base32 or decode it back (RFC 4648).
- JSON Escape and UnescapeED-05Escape text for use inside a JSON string, or unescape it back.
- JavaScript String EscapeED-06Escape text for a JavaScript string or template literal, or unescape it.
- SQL String EscapeED-07Escape text for a SQL string literal in T-SQL, MySQL or PostgreSQL.
- HTML Encode and DecodeED-08Convert special characters to HTML entities, or decode entities to text.
- XML Escape and UnescapeED-09Escape the five XML special characters, or unescape them. Flags invalid characters.
- Text to Hex ConverterED-10Convert text to hexadecimal UTF-8 bytes, or hex back to text.
- Binary TranslatorED-11Convert binary to text, or text to binary, using 8-bit UTF-8 bytes.
- Number Base ConverterED-12Convert numbers between binary, decimal, hex, octal and any base from 2 to 36.
- ASCII ConverterED-13Convert characters to their ASCII codes in decimal, hex or binary, and back.
- Unicode Escape and UnescapeED-14Turn text into \uXXXX escapes, or turn the escapes back into text.
- Morse Code TranslatorED-15Translate text to Morse code and Morse code back to text.
- ROT13 and ROT47 EncoderED-16Apply ROT13, ROT47 or ROT18 to text. The same step encodes and decodes.
- NATO Phonetic Alphabet ConverterED-17Spell text with NATO words such as Alfa and Juliett, or turn the words back into text.
- Base58 Encoder and DecoderED-18Encode text or bytes to Base58 and back, with the Bitcoin alphabet and optional Base58Check.
- Base64 to Hex ConverterED-19Turn a Base64 or Base64URL string into hex bytes, with errors that point at the bad character.
- Hex to Base64 ConverterED-20Turn hex bytes into Base64 or Base64URL. Spaces, colons, commas and 0x prefixes are fine.
- UTF-8 Encoder and DecoderED-21See the UTF-8 bytes of any text as hex, decimal, \x escapes or %XX, or decode bytes back to text.
- Punycode ConverterED-22Convert international domain names to xn-- Punycode and back, one name per line.
- Quoted-Printable Encoder and DecoderED-23Decode or encode Quoted-Printable text from emails, with soft line breaks at 76 characters and UTF-8.
- Ascii85 Encoder and DecoderED-24Encode and decode Ascii85 (Base85), the Adobe variant with optional <~ ~> markers and z.
- CSV Escape and UnescapeED-25Quote a value for a CSV field, or read one back, following RFC 4180.
- Java String Escape and UnescapeED-26Escape text for a Java string literal, or turn escapes like \n and \u00e9 back into text.
- C# String Escape and UnescapeED-27Escape text for a regular or verbatim (@"") C# string literal, or reverse it.
- Base64 DecodeED-28Decode a Base64 or Base64URL string to text, or to hex bytes if it is not text.
- Base64 to Octal ConverterED-29Turn Base64 into the octal value of each byte, or octal bytes back into Base64.
- Byte Array to String ConverterED-30Turn a list of byte values into text, or text into its byte values, in UTF-8, Latin-1 or ASCII.
- CSV Escape and UnescapeED-31Escape one value or every line for CSV, or unescape a quoted CSV value, with the delimiter of your choice.
- HTML Decode StringED-32Decode HTML entities such as &, < and € in a string back to plain characters.
- Java Escape and UnescapeED-33Escape text for a Java string, or unescape \n, \t, \" and \uXXXX sequences back to characters.
- JSON URL DecodeED-34URL-decode a percent-encoded JSON string, such as %7B%22a%22%3A1%7D, and format the result.
- JWT DecodeED-35Decode a JSON Web Token: read the header, the payload claims and whether it has expired.
- ROT13 to Text ConverterED-36Turn ROT13 text back into readable text, or try every Caesar shift when you do not know the key.
- Text to ASCII ConverterED-37Convert text to ASCII codes in decimal, hex, binary or octal, show a per-character table, or convert codes back.
- UTF-8 to ASCII ConverterED-38Replace non-ASCII characters with plain ASCII, escapes or entities, or list which characters are not ASCII.
- XML URL DecodingED-39URL-decode percent-encoded XML, such as %3Cnote%3E, and format the result with indentation.
- Base58 EncodeED-40Encode text or hex bytes to Base58 with the Bitcoin alphabet, or decode Base58 back.
- Base64 to Binary ConverterED-41Turn a Base64 string into the 8-bit binary of its decoded bytes, or binary back into Base64.
- Byte to ASCII ConverterED-42Convert a list of byte values in decimal, hex, binary or octal to ASCII text, and text back to bytes.
- C# Escape and UnescapeED-43Escape text for a C# string literal, or unescape one, in regular or verbatim style.
- Hex to UTF-8 ConverterED-44Decode hex bytes to UTF-8 text, or write text as hex bytes, with a code point view.
- HTML Escape and UnescapeED-45Escape text for HTML with entities, or unescape entities back to characters.
- JSON Escape and UnescapeED-46Escape text for a JSON string value, or unescape a JSON string back to plain text.
- Punny Code ConverterED-47Convert text and domain names to Punycode (xn--) and back. Punny code is the usual typo for Punycode.
- Text to ROT13 ConverterED-48Convert text to ROT13 in one click. ROT47 and ROT18 are there too, and the same step reverses them.
- UTF-8 DecodeED-49Decode UTF-8 bytes to text, repair garbled text such as Café, or encode text to UTF-8 bytes.
- XML StringifyED-50Turn XML into an escaped string literal for JSON or JavaScript, or turn the string back into XML.
- Base58 DecodeED-51Decode a Base58 string to text or hex bytes, with the Bitcoin alphabet and optional Base58Check.
- Base64 EncodeED-52Encode text to Base64, standard or URL-safe, with optional line wrapping. Decode is one click away.
- Binary to Base64ED-53Turn groups of 8-bit binary into a Base64 string, or Base64 back into binary.
- Code to ASCII ConverterED-54Make source code ASCII-only by escaping non-ASCII characters, or list the ASCII code of each character.
- Decimal to ASCIIED-55Turn decimal character codes such as 72 101 108 into text, or text back into decimal codes.
- HTML Entities to TextED-56Turn & é € and other HTML entities into the characters they stand for, or list them.
- JavaScript Escape / UnescapeED-57Escape or unescape JavaScript strings, or use the legacy escape() and unescape() functions that give %XX and %uXXXX.
- JSON EncodeED-58Encode text as a JSON string value, put a JSON document inside a string, or decode a JSON string back.
- JSON Serialize (PHP)ED-59Turn JSON into a PHP serialize() string, or turn a PHP serialized string back into JSON.
- JSON URL EncodeED-60Percent-encode a JSON document so it can sit in a URL query string, or decode it back to formatted JSON.
- Octal to Base64ED-61Turn octal byte values such as 110 145 154 into a Base64 string, or Base64 back into octal.
- SQL Escape / UnescapeED-62Escape or unescape a SQL string literal for T-SQL, MySQL or PostgreSQL, or escape the wildcards in a LIKE pattern.
- Text to HTML EntitiesED-63Convert special and non-ASCII characters in text to HTML entities, or write every character as a numeric reference.
- UTF-8 ConverterED-64Convert text to UTF-8 bytes and back, and see the same text as UTF-16 code units or UTF-32 values.
- XML Escape / UnescapeED-65Escape the five XML special characters, unescape them again, or wrap text in a CDATA section.
- XML URL EncodingED-66Percent-encode an XML document for use in a URL query string, or decode it back to formatted XML.
- Gzip DecompressED-67Paste Base64 or hex gzip data and read the text inside. Compress text to gzip too.
- Zlib DecompressED-68Paste Base64 or hex zlib (deflate) data and read the text. Compress text to zlib too.
- Image to Base64ED-69Turn a PNG, JPG, GIF, WebP or SVG file into Base64 and get a data URI, a CSS rule or an HTML img tag.
- SVG to Base64ED-70Turn SVG code into a data URI, as Base64 or as shorter URL-encoded text, ready for CSS or an img tag.
- MP3 to Base64ED-71Turn an MP3 file into Base64 for a data URI or an HTML audio tag, with a player to check the result.
- Base64 to ImageED-72Paste Base64 or a data URI and get the image back, with a preview and the file type read from the data.
- Random Bitmap GeneratorED-73Make a random-noise image of any size in color, grayscale or black and white, and download it as PNG or BMP.