Full UTF-8 Multi-Byte Character Support
Accurately encodes and decodes accented characters, emojis, and international non-ASCII characters without character corruption.
Free online Base64 Encode and Decode tool. Convert text to Base64 and decode Base64 back to plain UTF-8 text with URL-safe support and complete client-side security.
0 lines · 0 characters
All processing happens locally in your browser.
Base64 is a group of binary-to-text encoding schemes defined in RFC 4648. It represents binary sequences in an ASCII string format by translating 8-bit bytes into a radix-64 representation.
Base64 is designed to transport binary data (such as images, file attachments, and encryption keys) across channels that only reliably handle plain text without corrupting data during transit.
1. Every 3 bytes (24 bits) of raw data are divided into 4 chunks of 6 bits each.
2. Each 6-bit chunk has a numeric value ranging from 0 to 63, which indexes into the standard 64-character alphabet:
• Indices 0–25: A–Z
• Indices 26–51: a–z
• Indices 52–61: 0–9
• Index 62: + (plus)
• Index 63: / (slash)
• Padding: = (equal sign used when input is not a multiple of 3 bytes)
Because 3 bytes of raw binary data turn into 4 ASCII text characters, Base64 encoding increases data overhead size by exactly 33.3% (or 4/3).
<img src="data:image/png;base64,..."> or CSS files.An API developer needs to generate an authorization header value by encoding "username:secret_token" into Base64 format.
| Plain Text Input | admin_api:secret_token_2026 |
| Base64 Output | YWRtaW5fYXBpOnNlY3JldF90b2tlbl8yMDI2 |
💡 The resulting Base64 string can be used directly in the HTTP Authorization header: `Basic YWRtaW5fYXBpOnNlY3JldF90b2tlbl8yMDI2`.
Paste your text or Base64 string into the input editor.
Select your desired operation: Encode to transform plain text into Base64, or Decode to convert Base64 back into readable text.
Copy the resulting output to your clipboard or download it directly as a text file.
Accurately encodes and decodes accented characters, emojis, and international non-ASCII characters without character corruption.
All encoding and decoding happen purely inside your browser memory. No tokens, passwords, or files are sent over the network.
Identifies malformed Base64 padding, illegal characters, and invalid byte sequences immediately with helpful error messages.
No. Base64 is an encoding format (RFC 4648) designed for data transmission across systems that only support text. It provides no confidentiality because anyone can decode it instantly without a key.
Base64 encoding increases data size by exactly 33.3% (ratio of 4 encoded ASCII characters for every 3 raw bytes).
Standard Base64 uses "+" and "/" characters, which have special meanings in URLs. URL-safe Base64 replaces them with "-" (hyphen) and "_" (underscore) to safely travel in URLs and filenames without percent-encoding.
Developer Tools
Encode or decode URL components and query strings with percent encoding.
Decode, inspect, and verify JSON Web Tokens (JWT) online. View claims, expiration dates, signature verification, and build tokens safely 100% in your browser.
Format, beautify, validate, and minify JSON data online with instant syntax error highlighting and tree inspection.
Convert cURL command lines into production-ready code snippets for JavaScript Fetch, Axios, Python Requests, Go net/http, PHP cURL, and Node.js.
Generate secure, cryptographically random Version 4 (v4) and time-ordered Version 7 (v7) UUIDs and GUIDs with custom formatting, bulk batch generation, and live inspection.
Explore, navigate, and inspect complex JSON payloads with an interactive collapsible tree viewer, type badges, node search, and JSON path copying.