Base64 Encode / Decode
Encode or decode Base64 instantly. Convert any file to Base64, decode Base64 back to text or files, toggle URL-safe output, and preview Base64 images right away. Free and 100% private.
How to use the Base64 Encode / Decode
- 1
Choose Encode or Decode.
- 2
Type/paste text, or click File → Base64 to encode a file.
- 3
Toggle URL-safe if you need Base64URL output.
- 4
Copy the result — decoded images preview instantly and can be saved.
Frequently asked questions
Can I convert a file to Base64?
Yes — click 'File → Base64' and pick any file; images also preview.
What is URL-safe Base64?
It swaps + and / for - and _ and drops padding, so the string is safe in URLs and filenames.
Is it private?
Completely — encoding and decoding run in your browser; nothing is uploaded.
Tips & discussion
Share a trick, ask a question, or help others get more out of this tool.
Log in to share a tip or ask a question.
Loading tips…