Convert text or files to and from Base64, including data URLs. Free, runs entirely in your browser — your files are never uploaded.
How to use Base64 Encode / Decode
Paste text to encode or decode, or drop in a file.
Switch direction between encoding and decoding.
Copy the result, or take a file as a ready-made data URL.
Frequently asked questions
Is Base64 encryption?
No, and this is worth being clear about. It is an encoding, trivially reversible by anyone. It hides nothing — use it for transport, never for secrecy.
Does it handle accents and emoji correctly?
Yes. Text is encoded as UTF-8 before conversion, so non-ASCII characters survive a round trip rather than being mangled, which is a common failure in simpler implementations.
What is a data URL for?
It embeds a whole file inside a URL, so a small image or font can be inlined into CSS or HTML with no separate request. Encoding adds about a third to the size, so it suits small assets.
Are files I drop in uploaded?
Nothing is uploaded. The file is read into memory by the page and processed by your own browser, and the site’s Content Security Policy blocks outbound connections entirely — so it cannot send your file anywhere even if it tried.