FREE TOOL
Encode text, images, and files as Base64 or Data URIs, then decode and download files locally.
Encode UTF-8 text, images, and files as Base64 or Data URIs. Decode Base64, Base64URL, and Data URIs into text or binary downloads, with image previews. Processing stays in your browser.
These examples describe reproducible behavior in this tool. They are not a guarantee for inputs outside the documented scope.
| Input or setting | Expected result | Condition |
|---|---|---|
| Hello | SGVsbG8= | This is standard Base64 for the UTF-8 text. |
| SGVsbG8 | Hello | Missing padding is restored before decoding. |
Text is converted with TextEncoder; Base64URL characters and omitted padding are normalized when decoding.
The tool supports standard Base64 and the URL-safe Base64URL representation.
Text, files, Data URIs, and decoded contents are processed in the browser.
Yes. Text is encoded as UTF-8, so Unicode characters, including emoji and non-English writing systems, are supported.
Yes. It recognizes the URL-safe alphabet using hyphens and underscores and accepts omitted padding.
Yes. Files up to 5 MB can be encoded as raw Base64 or a Data URI with the MIME type. Images also show a preview.
Yes. A Data URI preserves its MIME type, while plain Base64 can be downloaded as a binary file.
No. Base64 changes the representation of data and can be decoded by anyone; it does not provide confidentiality.
No. Base64 changes how data is represented and does not protect confidential information.
No. Encoding and decoding run locally in your browser, and inputs and results are not sent to our server.