Base64 Encode / Decode
Encode text to Base64 or decode Base64 back to text. Supports UTF-8 and file upload.
Plain Text
Base64 Output
Base64 encoded output will appear here
Base64 Encode and Decode Text or Files
Encode strings and small files to Base64 for HTTP headers, Basic auth scaffolding, data URLs, and debugging. Decode Base64 back to readable text or binary previews when inspecting network traffic.
Use UTF-8 aware encoding for international text. Never treat Base64 as encryption—anyone can reverse it.
Operations execute locally in the browser for typical paste workflows.
Two-way
Switch between encode and decode modes quickly.
Developer utility
Verify what your app should send over the wire.
Clipboard ready
Copy results for Postman, curl, or unit tests.
Not encryption
Do not hide secrets—use real crypto for sensitive data.
How to Base64 encode or decode online
- 1
Choose mode
Pick encode or decode.
- 2
Provide input
Paste text or load a small file if supported.
- 3
Run
Generate output and verify length and charset.
- 4
Copy
Use in headers, JSON, or tests—mind line wrapping.
Related: Base64 encoder decoder, text to Base64, UTF-8 Base64, btoa atob online, file Base64 preview.