Development
Base64 Encoder
Paste text or upload a file, then encode to Base64 or decode it back. Choose a character set, Unix or Windows newlines, MIME line wrapping, and URL-safe Base64URL — the same encode and decode flow as a dedicated Base64 tool.
Quick start
- 1
Add text or a file
Paste a string or upload a file up to 5MB.
- 2
Choose encode or decode
Encoding writes Base64. Decoding reads it.
- 3
Set the options
Pick a charset, Unix or Windows newlines, 76-character wrapping, per-line encoding, or URL-safe Base64URL.
- 4
Copy or download
Live mode encodes UTF-8 as you type. Use a single run for files and other charsets.
Features
Encode and decode
Convert text or files to Base64, or decode Base64 back to text and downloadable bytes.
MIME, charset, and Base64URL
Pick UTF-8 or another charset, wrap at 76 characters, encode each line, or use URL-safe alphabet without padding.
Live mode
Turn on live mode to encode UTF-8 as you type, or submit once for files and other character sets.
Specifications
- Actions
- Encode, decode
- Charset
- UTF-8 · ASCII · Latin-1 · Windows-1252 · UTF-16
- Files
- Up to 5MB
- Privacy
- Processed on the toolbox API
Use cases
- Encode a small file for a data URL.
- Decode a Base64 snippet from a log.
- Produce URL-safe Base64 without padding.
Frequently asked questions
Which character sets are supported?
UTF-8, ASCII, Latin-1, Windows-1252, and UTF-16.