Base64
Encode / decode text & files in Base64.
A free Base64 encoder / decoder for text and any file, with optional URL-safe output and Data URI mode. Everything runs locally in your browser — nothing is uploaded.
How to use
- Pick “Text” for strings, or “File” to turn an image or any file into a Data URI.
- In text mode, choose Encode or Decode.
- Toggle URL-safe (swaps +/ for -_ and drops =) or Data URI if you need them.
- Read the result on the right and copy it; use Swap to feed the output back and reverse it.
FAQ
- Is Base64 encryption?
- No. Base64 is just an encoding that maps binary data to printable characters — anyone can decode it, so it offers no secrecy. Use real encryption to protect data.
- Does my data get uploaded?
- No. Encoding, decoding and file reading all happen locally in the browser — your content never leaves your device.
- Can I encode images or other files?
- Yes. Switch to the File tab and drop any file to get a Base64 Data URI you can paste straight into HTML/CSS.
Related tools
- 2FA Authenticator — End-to-end encrypted 2FA vault with live codes.
- Password Vault — Zero-knowledge vault for site logins; survives password changes.
- Data Format — Convert between JSON, YAML, TOML, CSV.
- URL Encode — Encode / decode URL components.
- JWT Decode — Inspect JWT header & payload.
- Regex Tester — Live-highlight matches, debug regex.