Base64 Encode
Turn text or any file into Base64, right in your browser.
0 characters
Output
or press ⌘/Ctrl + EnterYour result appears here.
- Runs in your browser
- Nothing is uploaded
- Free, no sign-up
How to use it
- Type or paste text, or choose a file.
- Turn on URL-safe for use in URLs, or Data URI to embed it in HTML or CSS.
- Run it and copy the result.
Why Tool Dock
- FastEverything runs on your own device, so there is no queue and no waiting for uploads.
- PrivateYour files and text never leave the browser. Close the tab and they are gone.
- Batch friendlyDrop several files at once and download each result, or all of them together.
Questions
Are my files uploaded?
No. Encoding happens in your browser, so the file never leaves your device.
What is a data URI?
Base64 with a prefix such as data:image/png;base64, so browsers can use it directly in an <img> src or a CSS url().
Why is the Base64 bigger than my file?
Base64 uses 4 characters for every 3 bytes, so the result is about a third larger than the original.
Related tools
- Base64 DecodeTurn Base64 back into text, images or files, right in your browser.
- JWT DecoderRead a JSON Web Token's header, claims and expiry, verify its signature, or build one, without sending it anywhere.
- URL DecodeTurn %20-style percent encoding back into readable text.
- URL EncodePercent-encode text so it is safe to put in a URL.
- BIMI CheckerCheck whether your brand logo can show next to your emails: BIMI record, logo, certificate and DMARC.
- Email Blacklist CheckCheck whether an IP address or a domain’s mail servers are on public spam blocklists.