Base64 Encoder & Decoder
Encode and decode Base64 strings online. UTF-8 safe, browser-only — your data never leaves your device.
How to use Base64 Encoder
- 1Pick a mode
Choose Encode (text → base64) or Decode (base64 → text).
- 2Enter input
Type or paste your input. The output updates live.
- 3Copy output
Click Copy to grab the result.
Frequently asked questions
Is this UTF-8 safe?+
Yes. The encoder uses TextEncoder/TextDecoder so accented characters and emoji round-trip correctly.
What is Base64 used for?+
Base64 lets you embed binary data inside text-only formats — JWTs, data URIs, basic-auth headers, and email attachments.
Related tools
JSON Formatter
Format, beautify, and validate JSON online. Free, fast, runs entirely in your browser.
JSON Validator
Validate JSON syntax online with clear error messages and line numbers. Free and private.
JWT Decoder
Decode JWT tokens and inspect header, payload, and signature. Runs locally — your tokens stay private.