Encode
Base64 Encoder & Decoder
Encode and decode Base64 strings in your browser.
Loading tool…
Basic
What it is & how to use it
Base64 encodes binary or text into an ASCII string for transport (data URLs, some APIs). It is encoding — not encryption.
How to use the Base64 Encoder & Decoder
1) Paste text.
2) Encode or decode.
3) Copy output.
4) Do not treat Base64 as a secrecy control.
Intermediate
Formula & worked example
Base64 maps bytes to a 64-character alphabet with padding (=).
Round-trip: decode(encode(x)) should equal x for valid input.
Advanced
Interpretation, edge cases & next steps
Anyone can decode Base64 — never hide secrets this way.
Advanced: watch UTF-8 vs binary assumptions; URL-safe variants differ; pair with JSON/URL tools in pipelines.
Frequently asked questions
Is Base64 encryption?
No — it is reversible encoding.
Why padding =?
Pads to full quantum of encoded output.
URL-safe Base64?
Some systems replace +/ and drop padding — check your target.
Binary files?
Prefer dedicated file flows; this UI is text-oriented.
Runs where?
In your browser.
Deep guide
Read the full guide
Longer teaching, worked scenarios and mistakes — then jump back into this tool with example numbers.