Base64 Encode / Decode
Encode files and text to Base64, or decode them back.
Text
or a file
Drop your file here
or
Browse filesSupports: Any file
Files never leave your device
This tool runs entirely in your browser. Your files are never uploaded anywhere.
How to use it
- 1
Choose Encode or Decode.
- 2
Type your text or drop a file.
- 3
Copy or download the result.
Questions & answers
What is a data URL?
It’s a “data:image/png;base64,…” string that lets you embed a file directly in HTML or CSS.
How is the decoded file type detected?
Types like PNG, JPG, PDF and ZIP are recognised automatically from the file’s first bytes.
Are my files uploaded anywhere?
No. Everything happens in your browser, so your files never leave your device.