Base64 to text converter
Paste Base64 text and this tool decodes it back into readable text.
Results
Enter your values to see the result.
About this tool
It accepts the URL-safe form too, and adds missing padding for you. It is useful for reading encoded values in emails, tokens and web data.
- How it is calculated
- every 4 Base64 characters give back 3 bytes, which are read as UTF-8 text. The URL-safe alphabet (- and _) is accepted and missing = padding is added.
- Worked example
- With Base64: SGVsbG8sIHdvcmxkIQ==, the result is: Text: Hello, world!; Size in bytes: 13.
- Good to know
- Every four Base64 characters give back three bytes, which are read as UTF-8 text. If the data is not valid Base64, or is not text, the tool reports an error and does not show a wrong result.
Frequently asked questions
What if the result looks like random symbols?
The Base64 may hold a file or other binary data, not text. The tool shows text only, so it cannot display an image or a document.
What is URL-safe Base64?
It is a version that uses a hyphen and an underscore in place of the plus and the slash, so the result can be used in web addresses. The tool accepts both.