Base64 Encode & Decode
Convert text or a file to Base64, or decode Base64 back to text, with an optional URL-safe format.
Your files never leave your device
Live network monitor
Nothing has left your device
This panel is the page reporting on itself, and it cannot see inside background workers. For independent proof, run the tests on the page linked here. Verify it yourself
Choose Encode or Decode, type or paste your text (or choose a file to encode), and copy the result.
About this tool
Base64 Encode & Decode converts text or a small file into Base64, and turns Base64 back into text. An optional URL-safe format is included. It runs in your browser, so your data is never uploaded, and it is free with no sign-up.
Good to know: Base64 is an encoding, not encryption: anyone can decode it. Files up to 5 MB.
Your files are processed entirely in your browser — nothing is ever uploaded to any server. Verify it yourself
Frequently asked questions
- Is Base64 a form of encryption?
- No. Base64 only changes how data is written so it can travel as plain text. Anyone can decode it, so never use it to hide passwords or secrets.
- What is the URL-safe format?
- It uses "-" and "_" instead of "+" and "/", and leaves out the "=" padding, so the result can be placed in a web address or a file name without extra encoding.
- Why does decoding sometimes fail?
- The text may contain characters that are not part of Base64, or it may be cut off. If the decoded data is not text (for example an image), the tool tells you.
Related tools
URL Encode & Decode
Encode special characters in a link or a value so they are safe to use in a web address, or decode them again.
Hash Generator
Create MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or a file, and compare them with a hash you have.
Text Encrypt & Decrypt
Encrypt a message with a password using AES-256, and decrypt it again later. Everything happens in your browser.
File Checksum Checker
Check that a downloaded file is genuine: paste the published checksum and compare it with your file.