Base64 Encode / Decode

Encode and decode Base64 and Base64URL with correct UTF-8 handling.

Private by design. Your input never leaves this browser. Conversions run locally on your device.

What this tool handles

  • Encodes and decodes standard Base64 and the URL-safe alphabet that uses - and _.
  • Padding with = can be switched off when encoding.
  • Text is treated as UTF-8, so non-ASCII characters survive a round trip.
  • Decoding accepts input with or without padding.

Example

Input

Žofie & Ada

Output

xb1vZmllICYgQWRh

Related tools

  • JWT Decoder — Decode a JSON Web Token header and payload locally. Signatures are not verified.
  • URL Encode / Decode — Percent-encode or decode text, or break a full URL into its parts.
  • cURL → code — Translate a cURL command into fetch, axios or Python requests code.
  • Hash Generator — Compute SHA-256, SHA-384, SHA-512, SHA-1 and MD5 digests of text or a file.

Browse all 25 tools