No Signup Required

Base64 Encoder & Decoder

Convert text or files to Base64 and back — with full Unicode and URL-safe support.

  • Runs in your browser — nothing uploaded
  • Instant, no waiting in a queue
  • Free, no watermark, no daily limits

Type text to get its Base64 encoding as you type, or paste Base64 to decode it. Text is converted as UTF-8, so emoji and non-Latin scripts round-trip correctly, and the URL-safe variant (using - and _ without padding) is supported both ways. Drop any file to get its Base64 string and a ready-to-use data URI, or decode Base64 that holds binary data straight into a downloadable file.

Related: Image to Base64

How to Encode or Decode Base64

  1. 1

    Pick a mode

    Choose Encode or Decode, and turn on URL-safe if you need the - and _ alphabet.

  2. 2

    Paste your input

    Type or paste text or Base64 — the result updates instantly. Use the file box to convert a file.

  3. 3

    Copy or save

    Copy the result, copy a data URI for a file, or save decoded binary data as a file.

Why use ToolzBank Base64 Encoder / Decoder?

  • Live encode and decode as you type
  • UTF-8 safe — emoji and all languages supported
  • URL-safe Base64 (RFC 4648 §5)
  • File and image to Base64 with data URI
  • Decode Base64 back into a downloadable file
  • Accepts input with or without padding or line breaks

Frequently asked questions

What is Base64 encoding?
Base64 represents binary data using 64 printable characters (A–Z, a–z, 0–9, + and /), so it can travel safely through text-only channels such as JSON, email or URLs. It makes data about 33% larger.
Is Base64 encryption?
No. Base64 is an encoding, not encryption — anyone can decode it without a key. Never use it to protect passwords or secrets.
What is URL-safe Base64?
It replaces + with - and / with _, and usually drops the trailing = padding, so the result can be used in URLs and filenames without escaping. JWTs use this variant.
Why does decoding show “binary data”?
The decoded bytes are not valid UTF-8 text — they are probably an image, PDF or other file. Use the download option to save them as a file.
Is my data uploaded?
No. The tool runs entirely in your browser — nothing you paste is sent to a server.

More free developer tools