Base64 Tool
Encode / Decode
UTF-8
Encoded
Base64 Features
File Encode
Encode any file (image, PDF, etc.) to a Base64 string.
Decode & Download
Decode Base64 back to original format and download as a file.
Image Preview
If the decoded data is an image, preview it directly in the browser.
URL‑safe
Toggle between standard and URL‑safe Base64 encoding.
Frequently Asked Questions
What is Base64?
Base64 is a binary‑to‑text encoding scheme that represents binary data in an ASCII string format.
Can I encode a file?
Yes, use the File tab to upload any file and get its Base64 representation.
What is URL‑safe Base64?
URL‑safe Base64 uses `-` and `_` instead of `+` and `/`, and omits padding `=`, making it safe for use in URLs.