Un coup d'œil à l'intérieur
Cet aperçu sécurisé montre à quoi sert l'outil, sans exécuter d'actions liées à un compte.
Ce que sait faire Base64 Encoder/Decoder - Encodage et décodage Base64
Base64 is everywhere binary data has to slip through text-only channels: email attachments, data URIs in CSS, JSON fields, auth headers, JWT tokens. And every time you have one of those strings in front of you, all you really want is to know what is inside. That is exactly what this tool is built for: one input, one click, the plain-text result.
It does more than plain Base64. Five encodings are on tap - classic Base64, URL-safe Base64URL (with - and _ instead of + and /), Base32, percent-based URL encoding and hex. In both directions. Paste an encoded string and the auto-detection usually works out the format on its own and flips straight to decode.
Files get their own modes. Drop an image or any file up to 50 MB and you get the Base64 string back - or a ready-made data URI you can embed directly into HTML or CSS. The other way round, the file decoder turns a Base64 blob back into a real downloadable file. If it is an image, you see a preview instantly, whichever mode you are in.
The JWT trick is the quiet favourite for anyone working with APIs. Paste a JSON Web Token and decode it as Base64URL, and the tool automatically pulls out the payload and shows it cleanly formatted as JSON. No copying the middle segment by hand, no separate debugger needed.
Everything runs purely in the browser. TextEncoder and TextDecoder make sure umlauts, emojis and other UTF-8 characters survive the round trip intact - no mangled a-umlaut, no broken euro sign. Your data, your tokens, your files stay on your device. No server round trip, no upload, no log.
The presets keep everyday work quick: encode text, decode a JWT, build a Basic Auth header, URL-encode, image to data URI - one tap sets mode, encoding and direction. Plus stats on characters, bytes and size growth so you can see how much Base64 inflates your data (rule of thumb: about a third bigger).
Fonctions
Five encodings
Base64, Base64URL, Base32, URL encoding and hex - all in both directions, switched with one click.
Automatic format detection
Paste an encoded string and the tool recognises the format and switches straight to decode.
Files and data URIs
Encode files up to 50 MB, download Base64 back as a file, or generate an embeddable data URI.
Decode JWT payload
Paste a JSON Web Token and get its payload output as cleanly formatted JSON.
Aperçu d’image
If your Base64 holds an image, the tool shows it right away - PNG, JPEG, GIF, SVG, WebP and more.
UTF-8 safe
Umlauts, emojis and special characters survive encoding intact thanks to TextEncoder, with no garbage.
Presets for common cases
Basic Auth header, URL encode, decode text and more - one tap sets the right mode and encoding.
Dans le navigateur, sans envoi
No server sees your data. Everything is computed locally, works offline, no account.
Comment ça marche
- 1
Choisir un mode
Text, file encode, file decode or data URI. For most jobs the text mode is all you need.
- 2
Set encoding and direction
Base64, Base64URL, Base32, URL or hex, plus encode or decode. When the format is detected this happens automatically.
- 3
Type or drop a file
Type text, paste a string or drag and drop a file into the drop zone.
- 4
Copy or download the result
Copy the result to your clipboard with one click, or download the decoded file directly.
Pour qui
Questions fréquentes
What is the difference between Base64 and Base64URL?
Base64URL is a URL-safe variant: it uses - and _ instead of + and / and drops the = padding. That lets the string sit in URLs and JWT tokens without further escaping. Both encode the same underlying data.
Can I decode a JWT with it?
Yes. Paste the token and decode it as Base64URL. The tool recognises the three segments, extracts the payload and shows it formatted as JSON. It does not verify the signature - it only reads the contents.
Mes fichiers sont-ils envoyés sur un serveur ?
No. Encoding and decoding run entirely in your browser via the File and encoding APIs. No file and no text leaves your device, there is no server upload and no log.
Why is my Base64 longer than the original text?
Base64 represents three bytes with four characters, roughly 33% more. That is normal and the price for pushing binary data safely through text-only channels. The stats line shows you the exact size growth.
Does it work with umlauts and emojis?
Yes. The tool encodes via UTF-8, so umlauts, the euro sign and emojis convert back and forth correctly. A naive btoa approach would produce garbage here - this one does not.
How big can a file be?
Up to 50 MB. Larger files are rejected so your browser does not freeze. That is plenty for most images, PDFs and small binaries.
Outils similaires
UUID Generator - Générateur d’UUID
Erzeuge UUIDs (v4) einzeln oder im Batch. Kopieren, Formatierung wählen, sofort verwenden. Di…
JWT-Inspektor - Inspecteur JWT
Dekodiere und analysiere JWT-Tokens. Header, Payload und Ablaufzeit auf einen Blick.
Hash-Verify - Vérification de hash
Berechne MD5, SHA-1, SHA-256, SHA-384, SHA-512 Hashes und HMAC. Dateien und Texte hashen, ver…
QR-Code Generator - Générateur de codes QR
Erstelle QR-Codes für URLs, Texte, vCards und Wi-Fi-Zugänge. Als PNG oder SVG herunterladen.…
JSON-Formatierer
Formatiere, validiere und minimiere JSON mit Syntaxhervorhebung und Fehlererkennung. Kostenlo…
Text Cleaner - Nettoyage de texte
Entferne Leerzeichen, HTML-Tags, URLs, Sonderzeichen. Korrigiere Umlaute, Typographie, Smart…
Prêt pour Base64 Encoder/Decoder - Encodage et décodage Base64 ?
Sans installation. Inclus à partir de Plus. S’ouvre directement dans le navigateur.
Ouvrir maintenant