🔄 Décodeur Base64 — Convertir Base64 en Texte Online

Decode any Base64 string back to plain text or download a file. Also encodes text and files to Base64. Free, instant, no signup.

Paste any Base64 string into the input area and click Decode. The tool instantly decodes it back to readable text. Switch to File mode to decode Base64-encoded files. Works for Base64-encoded images, PDFs, and any binary data.

How to Use

1

Choose mode

Select Text mode for plain text encoding/decoding, or File mode to encode any file.

2

Enter your input

Type or paste text, then click Encode or Decode. For files, drag and drop or click to browse.

3

Copy the output

Click Copy to copy the Base64 output to your clipboard for use in your project.

Frequently Asked Questions

What is Base64 encoding? +
Base64 converts binary data (like images or files) into ASCII text using 64 characters (A–Z, a–z, 0–9, +, /). It's used to embed images in CSS/HTML, transmit data in JSON APIs, and store binary data in text formats.
How do I use Base64 images in CSS? +
After encoding an image, copy the output and use it as: background-image: url('data:image/png;base64,YOUR_BASE64_HERE'). This embeds the image directly in your CSS, eliminating an HTTP request.
Is Base64 encoding the same as encryption? +
No. Base64 is encoding, not encryption. Anyone can decode Base64 text instantly. Never use it to hide sensitive information.
Why does Base64 encoded text end with == ? +
Base64 pads output to a multiple of 4 characters using = signs. One = means 1 padding byte, == means 2 padding bytes.
Can I encode files to Base64? +
Yes — switch to File mode, select any file, and the tool instantly shows its Base64 representation. Works for images, PDFs, fonts, and any binary file.


Guide : Encodeur/Décodeur Base64

Qu'est-ce que c'est ?

L'encodeur Base64 convertit du texte ou des fichiers binaires en une chaîne ASCII sûre pour la transmission. Il est largement utilisé dans les API REST, les tokens JWT et les données URI CSS.

Le décodage inverse ce processus pour récupérer le contenu d'origine à partir d'une chaîne Base64.

Comment utiliser

  1. Collez votre texte ou URL dans le champ d'entrée.
  2. Cliquez sur Encode pour obtenir la chaîne Base64.
  3. Pour décoder, collez une chaîne Base64 et cliquez sur Decode.
  4. Copiez le résultat avec le bouton copier.

Conseils professionnels

🧰 50+ Tools