Base64 encode/decode — text, files, data URLs
Handle Base64 for email attachments, API requests, and CSS image embedding, all in one place. Files are processed entirely on your device.
The file is never sent to a server — processed entirely in this browser
Base64
Decoding automatically handles spaces, line breaks, the URL-safe format (-_), omitted trailing =, and data URLs.
Advertisement
How to use Base64 encode/decode
- 1Enter text to get Base64, or enter Base64 to get the original text back instantly.
- 2Turn on [URL-safe] if you need the format used in JWTs and URLs.
- 3In the File tab, convert a file to Base64 or a data URL, or paste Base64 and save it as a file.
Frequently asked questions
Korean text comes out garbled.
Another tool may have processed it as EUC-KR or Latin-1. This tool encodes and decodes using the standard, UTF-8.
Is Base64 encryption?
No. It's just a reversible encoding that anyone can undo, so never use it to protect passwords.
Advertisement