TOOL · ON YOUR DEVICE
Encode and decode Base64 text for free
Convert UTF-8 text to standard Base64 or recover text from a Base64 string. Alphabet, padding and UTF-8 bytes are validated: invalid characters are never silently replaced. Results are processed in this browser.
- Free account to copy or download
- Strict UTF-8
- Standard Base64
- Choose the conversion
- Process input
- Copy or download
HOW TO USE IT
Three steps.
Choose the conversion
Select UTF-8 encoding or Base64 decoding. Paste text or choose a local UTF-8 file.
Process input
Up to 1 MiB UTF-8 text; Base64 input up to 2 MiB and decoded output up to 1 MiB. Wrapped Base64 lines are accepted.
Copy or download
Get TXT with Base64 or recovered UTF-8 text. Review the result before using it.
NEXT STEP
Keep going with these tools
Base64 for text: common questions
Does Base64 protect a secret?
No. It is reversible encoding, not encryption. Anyone with the string can decode it.
Does it accept Base64URL or arbitrary binary data?
This tool uses standard Base64 with + and /. Output must be valid UTF-8 text; arbitrary binary files need a different conversion.
Why are some inputs rejected?
The string needs canonical padding and valid UTF-8 bytes. Incorrect padding, nonzero pad bits and invalid text are rejected instead of silently repaired.
Is my text sent to a server?
No. Everything is calculated in your browser as you type; the text is not sent to Cocuyo or any third party and is not stored. You can check it in your browser’s network tools: your file is not sent.
How does access work?
You can process text and view the result without an account. Copying or downloading it requires a free account. Local use does not consume credits or welcome uses.
How big can the text be?
For encoding, the UTF-8 text can be up to 1 MiB. For decoding, the Base64 input can be up to 2 MiB and the decoded text up to 1 MiB. Spaces, tabs and line breaks in the Base64 are ignored.
What do the TXT files contain?
Encoding saves texto-base64.txt with the Base64 string, and decoding saves texto-utf8.txt with the recovered text. Check the result before you use it.
Can I decode a Base64 string that holds an image?
Not with this tool, which only gives back UTF-8 text. For a Base64 image, use Image to Base64, which shows the decoded picture and lets you download it.
MORE FREE TOOLS
Other text tools
All free tools
WHEN YOU WANT TO CREATE
Make new images with AI.
Cocuyo’s Studio brings 30+ AI models for image, video and voice together. You see the credit cost before generating, and credits never expire.
































































