Skip to content
convertifyy

Base64 encode / decode – Free & Private

Encode text or files to Base64, or decode it back. Handles UTF-8 and URL-safe Base64.

The result appears here as you type.
Your data never leaves this browserHow it works

Short answer

To decode or encode Base64, type or paste text, or drop a file. Auto mode works out the direction for you, and the result appears as you type. You can decode Base64 to an image or file, use URL-safe Base64, and copy or download the result. Nothing leaves your browser, so tokens and data stay private.

How to use Base64 encode / decode

  1. Step 1

    Paste your text, open a file, or press “Sample”.

  2. Step 2

    Pick the options you need. The result updates as you type.

  3. Step 3

    Copy the result or download it.

Settings explained

Mode
Auto looks at your input and picks the right direction.
URL-safe
Uses - and _ instead of + and / so the result is safe in links.

Keyboard shortcuts

Paste into the input
Ctrl V
Format now (JSON)
Ctrl Enter
Search all tools
Ctrl K

Tips for better results

  • Base64 makes data about 33% larger; it is for safe transport, not compression.
  • JWT tokens are three URL-safe Base64 parts separated by dots; decode the middle part to read the claims.
  • Never treat Base64 as encryption: anyone can decode it.

What it does

  • Text and files
  • URL-safe option
  • Auto-detect direction
  • Correct UTF-8 handling

Questions

Is Base64 encryption?

No. Base64 only changes how data is written so it can travel as plain text. Anyone can decode it.

URL-safe Base64?

It swaps + for - and / for _ (and often drops the = padding) so the text can sit in a URL without breaking it.

How do I convert Base64 to an image?

Paste the Base64 string (with or without the data:image prefix). If it is an image, a preview appears and you can download it.

Why does my Base64 decode to strange characters?

The data is probably a file such as an image or PDF, not text. Download it instead of reading it as text.

Related tools

Runs in your browser · Updated · Report a problem