Base64 Encoder / Decoder

Convert text to Base64 and back. Unicode text is handled as UTF-8, and the URL-safe alphabet used by JWTs and web APIs is supported.

Loading the tool…

How it works

  • Text is converted to UTF-8 bytes and encoded in groups of three bytes into four characters. URL-safe mode replaces + and / with - and _.
  • Runs entirely in your browser: what you paste is not sent anywhere.

Assumptions and limits

  • Base64 is an encoding, not encryption: anyone can decode it. Decoded bytes that are not valid UTF-8 text cannot be shown as text.

Frequently asked questions

Is Base64 secure?

No. It only changes the representation of data. Never use it to hide secrets.

Related tools

Last reviewed 2026-10-28. More developer, web & seo tools tools. See the disclaimer.

Report a problem with this tool