Header Ad Slot (728x90)
Base64
💻 Developer Tools

Base64

Base64 Encoder / Decoder Base64 Encoder / Decoder Convert text, or a file, to and from Base64 Encode Decod...

Base64

In-Article Ad Slot (Top)
Base64 Encoder / Decoder

Base64 Encoder / Decoder

Convert text, or a file, to and from Base64

Text
Base64
Result will appear here.

What this tool does

Base64 Encoder / Decoder converts text or a file into Base64 text, and converts Base64 text back into its original form. Everything happens locally in your browser — nothing is uploaded anywhere.

How it works

  1. Encode / Decode — switch between turning input into Base64, or turning Base64 back into its original content.
  2. Input from Text or File — encode a typed string, or choose a file from your device (an image, document, or any binary file) to encode instead.
  3. URL-safe — when checked, uses the URL-safe Base64 alphabet (- and _ instead of + and /, no padding), which is common in URLs and tokens.
  4. Copy Output / Download Decoded File — grab the result: copy encoded text, or download a decoded file if the Base64 represents one (e.g. an image preview appears automatically when detected).

Good to know

  • Base64 is an encoding, not encryption or compression — it makes binary data safe to put in text, and typically makes it about a third larger, not smaller or hidden.
  • Decoding requires valid Base64; unrecognized characters or broken padding will show an error rather than a guess.
  • When decoding an image, a preview renders automatically; any other file type offers a direct download instead.
In-Article Ad Slot (Bottom)