Base64 Encoder
Encode text to Base64 or decode it back, handling UTF-8 characters correctly and without sending anything to a server.
- 100% Free
- No account required
- Runs in your browser
- No data is uploaded
Not saved automatically
Private to this browser, not a cloud backup. Saves expire 7 days after the last save. Avoid saving sensitive data on shared devices.
Input
Paste or edit your text, then click “Run tool”.
Type, paste or drop a file
TextLn 1, Col 1Spaces: 2UTF-827 bytes
Output
Base64 text (read-only).
Read-only
TextLn 1, Col 1Spaces: 2UTF-80 bytes
Using the Base64 Encoder
Overview
Encode text to Base64 or decode it back, handling UTF-8 characters correctly and without sending anything to a server.
Read or produce the Base64 that API fields, email parts and config values carry, without a terminal.
How to use it
- Paste or type your Text into Input, drop a file onto it, or press Example to load a sample.
- Choose the settings in the Mode bar under the editors.
- Press Run tool, or ⌘ ↵ from anywhere on the page.
- Read the result in Output, then copy or download it. The Result tab has size, line counts and next steps.
Input
Text.
Settings
- Mode — Encode, Decode
Output
Base64 text.
- Encode text to Base64
- Decode Base64 back to text
- UTF-8 safe for any language
- Accepts URL-safe Base64 too
Tips
- Base64 here is UTF-8 safe, so accented and non-Latin text survives the round trip.
- URL encoding escapes a value for one part of a URL, not a whole URL.
- Decoding refuses input that is not valid, rather than returning something misleading.
Keyboard shortcuts
- ⌘ ↵
- Run the tool
- ⌘ K
- Search every tool
- /
- Filter the sidebar