I inbrowser.sh

Base64 Encode & Decode

Encode text to Base64 or decode Base64 back to text — locally and instantly.

100% client-side No upload Free · no signup

Quick answer

Base64 runs locally in your browser for quick developer formatting, conversion or inspection work. Base64 represents binary data as ASCII text. It is widely used in data URIs, JWTs, email attachments, and HTTP auth headers.

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

  1. Paste text into the input area.
  2. Pick Encode or Decode; toggle URL-safe if needed.
  3. Copy the result.

Example

Use this sample to confirm what Base64 does before pasting your own data.

Input
Hello, inbrowser.sh!
Output
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.