Base64
Encode text to Base64 or decode it back — runs entirely in your browser.
OutputValid
SGVsbG8sIHRleHRnZW4h
Encode text to Base64 or decode Base64 back to plain text. Supports URL-safe Base64. Runs entirely in your browser.
Frequently asked questions
- What is Base64 encoding?
- Base64 converts binary data to an ASCII string using 64 printable characters. It is widely used to embed binary data in HTML, CSS, JSON, or email (MIME).
- What is URL-safe Base64?
- URL-safe Base64 replaces + with - and / with _, and omits the = padding, making the output safe to include directly in URLs without percent-encoding.
- Does my data leave the browser?
- No. All encoding and decoding happens locally using the built-in btoa() and atob() functions. Nothing is ever sent to a server.