All tools › For Developers
Base64 and URL: Encode and Decode
Text and files to Base64, percent-encoding of links, Punycode and HTML entities. Plus a “layer unwrapper” for data encoded many times.
What the tool can do
- Base64 for text with a choice of encoding (UTF-8, UTF-16, Windows-1251, KOI8-R) and a URL-safe variant.
- A file to Base64 or a data URI and back: the file type is detected from the content, and images have a preview.
- Link encoding: encodeURIComponent, encodeURI and form; parsing a link into parts with parameters.
- Punycode for domains in non-Latin scripts: пример → xn--e1afmkfd.
- “Unwrap layers”: is your data encoded as Base64 inside a URL inside Base64? The tool removes the layers one after another, including gzip.
- A hint when pasting: if the text looks like Base64, we will offer to decode it right away.
Base64 is not encryption: anyone can read such data. To protect text, use “Text Encryption”.