Skip to tool

Base64 Encode / Decode

About this tool

Encode text to Base64 or decode Base64 back to text. Supports UTF-8 and URL-safe encoding.

Privacy and details

Your files never leave your device.

Fast browser processing with no account required.

Optimized for desktop and mobile with accessible controls.

How to use
  1. Type or paste your text into the input field.
  2. Click Encode to convert it to Base64, or Decode to convert Base64 back to text.
  3. Enable URL-safe mode to replace + with - and / with _ for use in URLs.
  4. Click Copy to copy the output to your clipboard.
Why use this tool

Base64 encoding is used to represent binary data as text: in authentication headers, data URIs, JWT tokens, email attachments, and API payloads. This tool handles full Unicode text correctly using TextEncoder, so emoji and non-Latin scripts encode without errors.