Base64 Encode / Decode
Encode text to Base64 or decode Base64 back to text.
How to Use the Base64 Encoder/Decoder
Select "Encode" to convert text to Base64, or "Decode" to convert Base64 back to plain text. Paste your input and click the button. Use "Swap" to quickly reverse the operation.
What is Base64?
Base64 is an encoding scheme that converts binary data into ASCII text. It is commonly used to embed images in HTML/CSS, encode email attachments, and pass data in URLs and APIs.
Frequently Asked Questions
What is Base64 used for?
Base64 is used to encode binary data as text for embedding in HTML, CSS, JSON, URLs, and email attachments (MIME).
Is Base64 encryption?
No. Base64 is an encoding, not encryption. Anyone can decode a Base64 string. It provides no security.
Does this support UTF-8?
Yes. This tool correctly handles Unicode/UTF-8 text in both encode and decode modes.
Is my data uploaded?
No. All encoding and decoding happens in your browser. No data is sent to any server.
More Developer Tools
JSON Formatter
Format, validate and minify JSON with syntax highlighting.
Open tool →UUID Generator
Generate UUID v4 identifiers, single or in bulk.
Open tool →Unix Timestamp Converter
Convert Unix timestamps to human-readable dates and back.
Open tool →URL Encode / Decode
Encode or decode URLs and query parameters.
Open tool →HTML Entity Encode / Decode
Encode special characters to HTML entities or decode them back.
Open tool →JWT Decoder
Decode and inspect JWT tokens — header, payload and claims.
Open tool →