Base64 Encode / Decode
Encode text to Base64 or decode Base64 strings back to plain text. Supports UTF-8 and binary data.
How to Encode and Decode Base64 Online
Choose your operation
Select whether you want to encode plain text to Base64 or decode an existing Base64 string back to readable text. The tool supports both directions with a single click toggle.
Enter your input
Paste the text you want to encode, or the Base64 string you want to decode. The tool handles UTF-8 characters, special symbols, and multi-byte characters like emoji correctly.
Copy the output
The result appears instantly as you type. Click the copy button to grab the encoded or decoded output for use in your API headers, data URIs, email attachments, or wherever you need it.
Common Use Cases
Encoding API credentials for HTTP Basic Authentication headers
Decoding Base64-encoded email attachments or MIME content
Creating data URIs for embedding small images directly in HTML or CSS
Encoding binary data for safe inclusion in JSON payloads
Debugging encoded strings found in JWT tokens or OAuth flows
Preparing file content for upload via REST APIs that expect Base64 input
Base64 Encoding Explained: When and Why Developers Use It
Frequently Asked Questions
Related Tools
JSON Formatter & Validator
Format, beautify, and validate JSON data instantly. Supports minification, tree view, and syntax highlighting.
URL Encode / Decode
Encode or decode URLs and query strings. Handles special characters and Unicode.
JWT Decoder
Decode and inspect JSON Web Tokens. View header, payload, and expiration details without a secret key.
UUID Generator
Generate random UUIDs (v4) instantly. Copy single or bulk UUIDs for your projects.