Skip to main content
Werkzeu.ge
Dashboard
Encodes and decodes Base64 right in your browser, so your data stays local. Base64 is encoding, not encryption - do not hide secrets with it.
PlusГенераторы

Кодирование и декодирование Base64

Text in, Base64 out - or the other way round. Encode and decode Base64, Base64URL, Base32, URL encoding and hex, turn whole files into data URIs or crack open a JWT, all without a single byte leaving your browser. Auto-detection is built in so you never have to guess what you are looking at.

Взгляд внутрь

ГенераторыКодирование и декодирование Base64Вымышленная демонстрация | Plus
Просмотр документа

Five encodings

Five encodings
Automatic format detection
Files and data URIs
Decode JWT payload
Просмотр только для чтения. Чтобы пользоваться, открой инструмент.

Этот безопасный просмотр показывает, для чего нужен инструмент, не выполняя действий, требующих аккаунта.

Что умеет Кодирование и декодирование 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).

Функции

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.

Предпросмотр изображения

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.

Работает в браузере, без загрузки

No server sees your data. Everything is computed locally, works offline, no account.

Как это работает

  1. 1

    Выбрать режим

    Text, file encode, file decode or data URI. For most jobs the text mode is all you need.

  2. 2

    Set encoding and direction

    Base64, Base64URL, Base32, URL or hex, plus encode or decode. When the format is detected this happens automatically.

  3. 3

    Type or drop a file

    Type text, paste a string or drag and drop a file into the drop zone.

  4. 4

    Copy or download the result

    Copy the result to your clipboard with one click, or download the decoded file directly.

Кому это нужно

→Developers who need to quickly decode a Base64 string from an API.
→Anyone who has to inspect a JWT payload without using an external site.
→Web designers embedding a small image as a data URI straight into CSS.
→Admins building a Basic Auth header for a curl call.
→Anyone who wants to make an encoded blob from a config file readable.

Частые вопросы

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.

Мои файлы загружаются на сервер?

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.

Генератор UUID

Erzeuge UUIDs (v4) einzeln oder im Batch. Kopieren, Formatierung wählen, sofort verwenden. Di…

Инспектор JWT

Dekodiere und analysiere JWT-Tokens. Header, Payload und Ablaufzeit auf einen Blick.

Проверка хеша

Berechne MD5, SHA-1, SHA-256, SHA-384, SHA-512 Hashes und HMAC. Dateien und Texte hashen, ver…

Генератор кодов QR

Erstelle QR-Codes für URLs, Texte, vCards und Wi-Fi-Zugänge. Als PNG oder SVG herunterladen.…

Форматировщик JSON

Formatiere, validiere und minimiere JSON mit Syntaxhervorhebung und Fehlererkennung. Kostenlo…

Очистка текста

Entferne Leerzeichen, HTML-Tags, URLs, Sonderzeichen. Korrigiere Umlaute, Typographie, Smart…

Начнём с Кодирование и декодирование Base64?

Без установки. Входит в Plus. Открывай прямо в браузере.

Открыть сейчас