Base64 Encoder / Decoder
Encode plain text strings into Base64 format or decode Base64 data back to utf-8 text.
About Base64 Encoder / Decoder
Base64 Encoder / Decoder allows you to seamlessly convert plain UTF-8 text strings into standard Base64 representation or decode Base64 strings back into readable text. With full support for international Unicode characters, accented letters, and emojis, this utility operates completely client-side in your browser for maximum security.
What is Base64 Encoding & How Does It Work?
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format using a 64-character alphabet (`A-Z`, `a-z`, `0-9`, `+`, and `/`). It operates by dividing groups of 3 8-bit bytes (24 bits total) into 4 6-bit chunks, where each 6-bit integer (0–63) maps to a corresponding character in the Base64 index table.
If the input byte count is not divisible by 3, `=` padding characters are appended to the end. Base64 is an encoding scheme for data transmission over text-only channels (like email or JSON), NOT an encryption algorithm—anyone can easily decode Base64 strings.
How to Use Base64 Encoder / Decoder
- Step 1: Select whether you want to "Encode" text to Base64 or "Decode" Base64 back to text.
- Step 2: Type or paste your input payload into the main text box.
- Step 3: The converted Base64 or plain text output updates immediately in real time.
- Step 4: Click "Copy Result" to copy the converted string to your clipboard.
Key Features & Benefits
Common Use Cases & Examples
HTTP Basic Authentication
Encode `username:password` pairs into Base64 strings for HTTP `Authorization: Basic <credentials>` headers.
Embedding Small Assets in JSON
Encode binary tokens or small icons into Base64 strings to embed them directly inside JSON payloads.
Frequently Asked Questions
Related Tools
JSON Formatter
Format, beautify, and edit raw JSON strings into clean, human-readable structure instantly.
UUID Generator
Generate cryptographically secure random UUID v4 strings individually or in bulk.
URL Encoder / Decoder
Encode special characters into percent-encoded URL components or decode encoded URLs.
This utility executes entirely within your local browser memory using modern web APIs. Your files and inputs are never transmitted, inspected, or saved to any remote server.