Base64 Encode / Decode
Encode text to Base64 or decode Base64 to text, with full Unicode support and the URL-safe variant. Runs entirely in your browser.
Processed locally in your browser — nothing is uploaded.
0 characters
Base64
Output appears here…About Base64 Encode / Decode
Base64 encodes binary data as ASCII text for transport in URLs, JSON, headers, and data URIs. This tool encodes and decodes with proper UTF-8 handling — emoji and non-Latin text round-trip correctly, unlike raw btoa/atob — and supports the URL-safe alphabet used by JWTs.
Common uses
- Decode a Base64 value found in a config, header, or token
- Encode credentials or payloads for HTTP Basic auth and APIs
- Inspect data: URIs
Example
Input
Hello, world!
Output
SGVsbG8sIHdvcmxkIQ==