Encoding & Base64
Encode and decode Base64, URLs, HTML entities, hex and binary, and fix text saved in the wrong character set.
All tools in Encoding & Base64
26 tools
Base64 Encode/Decode
Turn text into Base64 and back, with UTF-8 support.
URL Encode/Decode
Percent-encode text for a URL, or decode it back.
Change Text Encoding
Convert a text file between UTF-8, Windows-1250, ISO-8859-2 and other encodings.
Image to Base64
Turn an image into a Base64 string or a data URI for CSS and HTML.
HTML Entities Encode/Decode
Escape <, >, & and quotes as HTML entities, or turn entities back into text.
JWT Decoder
Read the header and payload of a JSON Web Token and its expiry time.
Base64 to Image
Turn a Base64 string or data URI back into an image file.
File to Base64
Encode any file as a Base64 string.
Base64 to File
Decode a Base64 string and save it as a file.
Text to Hex
Show the bytes of a text as hexadecimal values.
Hex to Text
Turn hexadecimal bytes back into readable text.
Text to Binary
Write each character of a text as 8-bit binary.
Binary to Text
Turn groups of 0s and 1s back into text.
URL Parser
Split a URL into scheme, host, path, query parameters and fragment.
Unicode Escape/Unescape
Write characters as \u escapes, or turn escapes back into text.
String Escape/Unescape
Escape quotes, backslashes and line breaks for JavaScript, JSON, C or SQL strings.
Base32 Encode/Decode
Turn text into Base32 and back.
Base58 Encode/Decode
Turn text or hex into Base58, the alphabet used by Bitcoin addresses, and back.
Base85 Encode/Decode
Turn text into Ascii85 or Z85 and back.
UTF-8 Byte Viewer
Show the code point and UTF-8 bytes of each character.
Remove BOM
Remove the byte order mark from the start of a text file.
Quoted-Printable Decoder
Decode =C3=A9 style text from e-mail sources.
Punycode Converter
Convert domain names with accents to xn-- form and back.
ROT13
Shift letters by 13 places, the same way to encode and decode.
Morse Code Translator
Translate text to Morse code and back, and play it as sound.
Data URI Generator
Make a data: URI from a small file, with its MIME type.
Related conversions
Conversions of whole files have their own pages, with the programs that do the same on your computer.
- → TXT to PDF
- → TXT to HTML
- → TXT to DOC
- → TXT to DOCX
- → TXT to SRT
- → TXT to CBR
- → TXT to LOG
- → TXT to EPUB
- → TXT to ODT
- → TXT to RTF
- → TXT to HTM
- → TXT to ASC
- → TXT to FB2
- → TXT to CBZ
- → TXT to ABW
- → TXT to DOT
- → TXT to TEXT
- → TXT to NFO
- → TXT to WBK
- → TXT to AWW
- → TXT to LWP
- → TXT to STW
- → TXT to ASCII
- → TXT to SNB
Questions about these tools
Which file formats do these tools work with?
Mostly .txt, .jpg, .png, .csv, .html and .svg. Each tool page lists the formats it reads and links to the page about each extension.
Are my files uploaded?
No. These tools run in your browser, so your files stay on your device.
Do I need to install a program?
No. Open a tool, add your file or text and save the result.