Base64 Encoder and Decoder
Paste text or choose a file, and the Base64 result appears at once. Switch between the standard and URL-safe alphabets, add or remove = padding, and wrap lines every 76 characters. Decoding accepts spaces, line breaks and missing padding, and shows the text or offers the decoded file as a download. Everything runs in your browser, and files are never uploaded.
Base64 Encoder and Decoder runs entirely in your browser: the text you paste is never sent to a server. It is free and needs no sign-up.
How to use it
- Choose text or file In Base64 Encoder and Decoder, pick Text to type or paste, or File to encode a file up to 20 MB. The file is read on your device and is never uploaded.
- Set the options Choose Encode or Decode. When encoding, tick URL-safe alphabet for - and _, Add = padding, or Wrap lines every 76 characters. Decoding ignores spaces and line breaks.
- Read or download The result updates as you type. Copy it, or download decoded.bin when the bytes are not UTF-8 text. Tick Show decoded bytes as Hex to inspect them.
Questions
Why does decoding give binary instead of text?
Base64 stores bytes, not characters. A file, an image or any data that is not UTF-8 text decodes to bytes. Download them as decoded.bin, or show them as Hex to see the values.
Is Base64 a form of encryption?
No. Base64 only changes how bytes are written, and anyone can decode it in a moment. Do not use it to hide passwords or private information.