Base64 Encoder / Decoder

Encode and decode Base64 in your browser. UTF-8 and URL-safe variants.

Input (text)
Output

How to encode or decode Base64

  1. 1
    Choose a modeEncode text → Base64, or decode Base64 → text.
  2. 2
    Toggle URL-safe (optional)Base64URL replaces +, / with -, _ and drops = padding — common in JWTs and URLs.
  3. 3
    Copy or swapCopy the output, or swap it to the input to chain conversions.

Frequently asked questions

Is Unicode supported?
Yes. Input is UTF-8 encoded before Base64 conversion, so emoji and non-ASCII text round-trip correctly.
What is base64url?
A URL-safe variant that replaces + with -, / with _, and omits padding. It's the encoding used in JWTs.
Is this private?
Yes — encoding and decoding both run entirely in your browser. Nothing is sent to our servers.
Max length?
No hard limit, but very large inputs (10+ MB) may slow your browser.

Related tools

Need a custom dev tool for your team?

We build internal tools, dashboards, APIs, and SaaS platforms. If you can describe it, we can ship it.

Built by CountryDevs · No signup · No ads · No tracking