Base64 encode / decode
Encode or decode a snippet in a click.
- 1Add input
- 2Adjust settings
- 3Get your result
Tool input and files are processed in this browser without being uploaded.
Before you start
Encode UTF-8 text or exact local file bytes as Base64. Strict decoding checks padding and canonical bits; choose a binary download when decoded bytes are not UTF-8. Base64 is an encoding, not encryption.
How to use this tool
- Paste UTF-8 text or choose one local file of raw bytes.
- Choose Encode or Decode. For decoding, select UTF-8 text or a binary file and choose whether to ignore whitespace.
- Check the output, then copy the text or download the result.
Supported inputs and limits
Pasted text is limited to 1 MiB; review the result before using it.
One local file up to 10 MiB can be processed in this workspace.
When a file is selected, its bytes take priority over any pasted text.
The screen previews the first 4,000 characters; copy and download keep the complete result.
Worked example
Example input
中文😀
Example options
{}Example output
5Lit5paH8J+YgA==
When something does not work
Use the documented input format and keep values within the displayed limits. Review the result before using it in another document or application. Editing the input marks the previous result as stale; a failed run clears it.
Frequently asked questions
Are my files uploaded?
No. Files and tool input are processed in your browser. Moving around the site can keep a temporary workspace in the same tab. Refreshing or closing the tab clears it, so download results you want to keep.
What should I check in this result?
Encode UTF-8 text or local binary bytes as Base64. Strict decoding checks padding and canonical bits; binary output is available when decoded bytes are not UTF-8 text.
Documentation & further reading
Related tools
URL encode / decode
Make those encoded characters readable again.
HTML entities
Convert between HTML entities and readable characters.
Unicode escape
Convert Unicode escapes into readable text and back.
SHA-256 checksum
Calculate a SHA-256 checksum for text or a file.