Free Base64 encoder

Choose Text (UTF-8) or File (bytes). Text mode keeps emoji and Unicode through UTF-8. File mode works on raw bytes: pick a file to encode, or paste Base64 and set a filename to download decoded bytes. Decoding strips whitespace in the blob. Nothing leaves this tab.

Loading…

How to use this tool

  1. 1

    Open Base64 encoder

    Use it for this task: UTF-8 text and binary files up to 60 MB, Base64 encode / decode, local processing, no upload.

  2. 2

    Choose encode or decode

    Paste your text or URL, then pick the direction and options that match your task.

  3. 3

    Copy the transformed value

    Use the encoded or decoded output in your request, config file, browser, or notes.

Quick facts

Runs offline?Yes — encode and decode use only your browser APIs after this page loads.
Binary files?File mode accepts any single file up to 60 MB for encoding, or Base64 for decoding into a download. Text mode handles UTF-8 strings only.
Is data uploaded?No. Safe Local Tools is static; your text never leaves this tab.
URL-safe Base64?This version uses the standard alphabet (+ and /). Replace - with + and _ with / if you have URL-safe variants.

Top use cases

  1. UTF-8 text and binary files up to 60 MB, Base64 encode / decode, local processing, no upload.
  2. Runs offline?: Yes — encode and decode use only your browser APIs after this page loads.
  3. Binary files?: File mode accepts any single file up to 60 MB for encoding, or Base64 for decoding into a download. Text mode handles UTF-8 strings only.
  4. Is data uploaded?: No. Safe Local Tools is static; your text never leaves this tab.
  5. URL-safe Base64?: This version uses the standard alphabet (+ and /). Replace - with + and _ with / if you have URL-safe variants.

FAQ

Why does decoding fail on my string?

Decode accepts the standard Base64 alphabet plus optional padding (=). Remove quotes wrapping the payload, delete non-Base64 characters except whitespace, or fix truncated lines.

Is this encryption?

No — Base64 is reversible encoding, not secrecy. Anyone can decode Base64 without a password.

Will my emoji survive encoding?

Yes. Text is turned into UTF-8 bytes before Base64, so emoji and full Unicode round-trip through encode/decode here.

How are line breaks handled?

When decoding, spaces and newlines are stripped first so wrapped PEM-style blocks still parse.

Does encoding add line breaks?

Output is one continuous line unless the source input already contained newline characters.

Where are secrets processed?

Only in your browser memory for this session. Clear the tab or reload when you are finished.