Developer

Base64 encode/decode

Encode text as Base64 (or Base64URL) and decode Base64 back to UTF‑8 text.

Enter Mode, Text / Base64, Base64URL (-_ and no padding), and Ignore whitespace when decoding to calculate Result. Results update instantly as you type. Try an example preset to sanity-check the tool.

Inputs

Pick whether you want to encode plain text or decode an existing Base64 string.
For decode, you can paste Base64 or Base64URL. For encode, input is treated as UTF‑8 text.
Use URL-safe Base64 (RFC 4648 §5).
Useful when Base64 is wrapped across lines.
Examples
About this tool
  • Inputs: Mode, Text / Base64, Base64URL (-_ and no padding), Ignore whitespace when decoding
  • Outputs: Result
References
  • RFC 4648 (The Base16, Base32, and Base64 Data Encodings)
  • Base64URL (RFC 4648 §5)
Share & embed
Share link
Embed
Need help or found an issue?
Report an issue Suggest a tool