Base64 Encoder and Decoder
Convert text or a file to Base64 and back. Nothing is uploaded.
Everything is calculated on your device. Nothing you type is sent anywhere.
About Base64 Encoder and Decoder
Base64 turns data into plain letters and digits so it can travel inside text, such as in JSON, emails, data URLs and some web settings. This tool encodes text or a file to Base64 and decodes Base64 back to text.
It uses UTF-8, so Bengali, Arabic and emoji work. The URL-safe option swaps + and / for - and _ and removes the = padding.
Who it is for
- Developers working with APIs, tokens and data URLs.
- Students learning how encoding works.
- Anyone who needs to put a small file or picture into text form.
How to use it
- Choose Encode or Decode.
- Type or paste text, or choose a file to encode.
- Copy the result.
Supported files and limits
- Text: any length your browser can handle.
- Files: up to 5 MB.
- Decode returns text only. Binary files cannot be shown as text.
Privacy and processing
It runs inside your browser. Nothing you type or choose is uploaded to eformet or any other server.
Examples
- Hello encodes to SGVsbG8=.
- Paste a Base64 string and choose Decode to read the text.
- Encode a small PNG to get a string you can place in a data URL.
Troubleshooting
- It says the Base64 is not valid.
- Remove any extra characters, quotes or labels. Base64 uses A-Z, a-z, 0-9, + and /, with = at the end.
- The decoded text looks like gibberish.
- The data may be a file or a picture and not text.
Frequently asked questions
Is Base64 encryption?
No. Anyone can decode it. Do not use it to hide secrets.
Is my data uploaded?
No. It is converted in your browser.
What is URL-safe Base64?
A version that avoids + and / so it can sit inside web addresses.
Related tools
- Hash Generator: make a checksum of text or a file.
- JSON Formatter: format JSON before encoding.
- Password Generator: make a strong password.
- Case Converter: change text style.