What is Base64?
Base64 represents binary data as ASCII text. It is widely used in data URIs, JWTs, email attachments, and HTTP auth headers.
How to use
- Paste text into the input area.
- Pick Encode or Decode; toggle URL-safe if needed.
- Copy the result.
Example
Use this sample to confirm what Base64 does before pasting your own data.
Hello, inbrowser.sh!
SGVsbG8sIGluYnJvd3Nlci5zaCE=
UTF-8 safe; flip the URL-safe switch to get -_ instead of +/.
When to use it
Use Base64 for quick local checks, debugging, documentation prep, and one-off conversions where opening a full IDE or command-line workflow would be slower. For production-critical data, always review the output before committing or shipping it.
Frequently asked questions
What is Base64 used for?
Carrying binary data through text-only channels — email, JSON, URLs, HTTP headers.
Is Base64 encryption?
No. Base64 is encoding, not encryption. Anyone can decode it.
What is the difference between standard and URL-safe Base64?
URL-safe Base64 replaces +/ with -_ and may omit padding, so the result is safe in URLs and filenames.
Does it handle non-ASCII characters?
Yes. Strings are encoded as UTF-8 first.