Base64 to Text & Text to Base64 Converter
Paste to begin. Results appear instantly.
Ready
Base64 is an encoding format. It supports text, numbers, line breaks, and common special characters, with instant results.
Tool guide
Paste plain text and choose Encode for a Base64 string; paste valid Base64 and choose Decode to restore readable text. Base64 is a representation format, not encryption.
- Supports Chinese, English, digits, and common special characters
- Useful for inspecting JWT fragments, API fields, and simple data URIs
- For example, Hello encodes to SGVsbG8=; pasting the complete SGVsbG8= decodes back to Hello
- Decoding can fail when padding is missing or the input contains characters outside the Base64 alphabet
- Before decoding, ensure the string is complete and padding is correct
- Conversion runs entirely locally — text is never uploaded
FAQ
Can I encode files?
This tool is mainly for text. Images or large files use more memory — prefer a local CLI or dedicated file tool.
Why does decoding fail?
Common causes: truncated content, incomplete padding, or characters outside the Base64 alphabet. Make sure you copied the full string.
Does my data leave the browser?
No. Encoding and decoding run locally in the browser — ideal for temporary text you do not want uploaded.
Is Base64 encryption?
No. Base64 only represents binary bytes as ASCII text and provides no secrecy — anyone can decode it. For confidentiality, use key-based encryption such as the AES tool on this site.
Why does decoded Chinese text look garbled?
This tool encodes and decodes text as UTF-8. If the original data used another charset, the decoded text looks garbled — check the source charset first.