Skip to content

Base64 Studio

The most complete Base64 encoder & decoder on the web

Encode and decode text and any file across 91 character sets — with smart auto-detection, URL-safe output, hex inspection and media previews. Free, instant and 100% private: everything runs in your browser, and nothing is ever uploaded.

100% private · everything runs in your browserWorks offlineNo limits, no accounts
91encode charsets
91decode charsets
91charsets auto-detected
0bytes uploaded

The toolkit

Two tools, done properly

One focused encoder, one focused decoder — every option a Base64 user actually needs, and nothing you have to hunt for.

Base64 Encoder

Turn text into Base64 — 91 charsets, URL-safe, line wrapping, per-line mode.

  • Text → Base64 live as you type, with exact size and overhead stats
  • 91 character sets — Unicode, legacy, CJK, EBCDIC
  • URL-safe output, padding control, letter-case transforms
  • Line wrapping: 64 (PEM), 76 (MIME) or custom
  • Per-line mode for lists, CSV and logs
  • File output as raw Base64 or a data URI
Use the encoder/base64-encoder

Base64 Decoder

Decode Base64 back to text or any file — auto-detect, previews, correct names.

  • Base64 → text or files, live as you paste
  • Auto-detects the charset — reason included
  • Hex view for the raw decoded bytes
  • Image, audio, video and PDF previews inline
  • Save-as-file with the right extension
  • Per-line mode and lenient input repair
Use the decoder/base64-decoder

Encoding & Decoding

Every conversion, one toolkit

Twenty-three focused converters plus the two full workbenches — every direction Base64 travels in, all 100% client-side.

Capabilities

Everything a Base64 workbench should do

More character sets, more file types and more options than any competing encoder — all client-side.

91 character sets

UTF-8, UTF-16 and UTF-32 in both byte orders, every WHATWG legacy set from Windows-1250 to KOI8-R, five CJK encodings (GBK, Big5, EUC-JP, Shift_JIS, EUC-KR) and four IBM EBCDIC code pages — with lazy-loaded tables that keep pages fast.

Smart auto-detection

On decode, the character set is sniffed automatically: byte-order marks, ISO-2022 escape sequences, UTF-16/32 heuristics, EBCDIC structure and letter-frequency analysis across 91 character sets — and the reason is always shown.

Any file, both directions

Images, PDFs, audio, video, archives, binaries — encode to Base64 or a ready-to-paste data URI, then decode back with an inline preview and one-click download with the correct extension.

Options professionals actually use

URL-safe alphabets for JWTs and URLs, padding control, letter-case transforms, wrapping at 64/76 or a custom width, per-line batch mode, and lenient repair for copy-pasted input.

Byte-level inspection

An xxd-style hex view with byte offsets, exact size and overhead stats on every conversion, charset flags and millisecond timings in a live status bar.

Fast on huge payloads

Web Workers with streamed progress keep the page responsive while multi-megabyte files encode and decode — chunked processing, no freezing, no server round-trips.

Under the hood

How Base64 works

Two minutes of context that make the tools easier to reason about.

What Base64 is

Base64 maps any binary data onto 64 printable characters (A–Z, a–z, 0–9, + and /) defined in RFC 4648 — making binary safe for text-only channels like JSON, XML or email.

Why it grows ~33%

Every 3 bytes (24 bits) of input become 4 Base64 characters (4 × 6 bits). Six bits per character instead of eight means the output is always about a third larger.

Where you meet it

Inline images via data URIs, email attachments in MIME, JSON Web Tokens, HTTP Basic authentication headers, embedded fonts — Base64 is everywhere in web development.

A worked example

Three bytes become four characters — exactly

Text

“Man”

UTF-8 bytes

4D·61·6E

8-bit groups01001101|01100001|01101110
6-bit groups010011|010110|000101|101110
Indexes19|22|5|46
Base64T|W|F|u= TWFu

The 24 bits never change — they are just re-grouped from three 8-bit bytes into four 6-bit indexes, and each index picks a character from the 64-character alphabet. Try it in the encoder: type Man and watch TWFu appear.

Why Base64 Studio

Built private, built fast

Private by architecture

No uploads, no backend, no accounts. Everything you type, paste or drop is processed by your browser and nowhere else — verify it by going offline.

Instant, not “fast enough”

Static pages, tiny JavaScript bundles and Web Workers: conversions run as you type, and heavy file work streams in the background with live progress.

Deep, not wide

Two tools, done properly: 91 character sets, hex inspection, media previews, data URIs and file conversion in both directions — not forty half-baked utilities.

FAQ

Frequently asked questions

Yes — completely. No accounts, no usage limits, no watered-down "pro" upsells. The site is static and cheap to host, so it stays free.

Nowhere. Both tools run 100% in your browser: your input is processed by JavaScript on your device and never uploaded, logged or transmitted. Try it offline — they keep working.

Mostly, yes. Once a page has loaded, its processing logic is local — only loading new pages needs a connection.

Any file — images, PDFs, audio, video, archives, binaries — in both directions. The only limit is your device memory, and heavy work runs in Web Workers so the page stays responsive.

91 for encoding and 91 (+ Auto-detect) for decoding: all Unicode forms, every WHATWG single-byte legacy set, the full CJK family (GBK, GB18030, Big5, CP932/CP950, EUC-JP/CN/TW/KR, ISO-2022-JP), four EBCDIC code pages and more. The decoder auto-detects the common ones and explains why.

Because the architecture enforces it. There is no server that could see your data — a static site with no backend, no uploads and no tracking of tool inputs.

About the toolkit

The complete free online Base64 encoder and decoder

Everything Base64 Studio does, how it stays private, and why a dedicated page exists for every conversion.

Base64 Studio is a free suite of 24 browser-based Base64 tools. It includes a full-featured Base64 encoder, an equally serious Base64 decoder, and twenty-three dedicated converters for the jobs people actually search for — Base64 to PDF, Base64 to image, image to Base64, hex, JSON, data URLs, files, audio, video and more. Every conversion runs 100% in your browser. There are no uploads, no accounts, and no size limits imposed by a server. Nothing you paste ever leaves your machine.

What is Base64, and why is it everywhere?

Base64 is a way to represent any binary data using only 64 safe, printable characters — letters, digits, + and /. This lets bytes travel through systems that were designed for text: email, JSON, XML, HTTP headers and URLs. The algorithm packs every 3 bytes into 4 characters, which is why Base64 output is always about 33% longer than the data it carries. You meet it constantly whether you notice it or not. Examples include attachments in email (a 1990s MIME standard), data: URLs that embed images directly in HTML and CSS, JSON Web Token payloads, HTTP Basic Authentication headers, and API responses that carry images or documents inside JSON fields.

Two workbenches: the encoder and the decoder

The online Base64 encoder converts text to Base64 live as you type, across 91 character sets — from UTF-8 through every Windows and ISO legacy code page to CJK sets like GBK, Big5, Shift-JIS and EUC-KR, and even EBCDIC for mainframe data. URL-safe output, padding control, MIME and PEM line wrapping at 64 or 76 characters, per-line batch encoding and letter-case transforms are all one click away.

The Base64 decoder goes further. It auto-detects the character set of decoded bytes (byte order marks, letter-frequency analysis across more than twenty scripts) and tells you why it chose it. It handles URL-safe alphabets and missing padding, repairs copy-pasted input in lenient mode, decodes each line separately for batch jobs, and previews images, audio, video and PDFs inline. There's also a hex view for byte-level inspection and a download button that saves the file with the right extension.

A dedicated page for every conversion

Most Base64 sites are one box that does everything and nothing well. Here, every popular conversion gets its own focused tool.

Decoding tools include Base64 to PDF with page counts and an inline viewer, Base64 to text with charset auto-detection, Base64 to image with real pixel dimensions, Base64 to hex in five styles including xxd-style dumps, Base64 to binary, Base64 to JSONwith validation and pretty-printing, Base64 to data URL for ready-made <img> and CSS snippets, plus dedicated pages for audio and video — every other file type goes straight to the universal Base64 decoder, which detects the format and saves the file with its correct name and extension.

Encoding tools include text to Base64, hex to Base64, JSON to Base64 with validate-and-minify, data URL to Base64, and file to Base64 for drag-and-drop encoding of any file.

For the job no major competitor offers in one place, the Base64 format converter moves values between Base64, Base32 (RFC 4648 and Crockford), Base58, Base62, Ascii85, Base85 and Z85 — with auto-detection that explains what it found.

Private by design, not just by promise

Every tool on this site is a static page with client-side JavaScript. There is no upload endpoint, no processing server and no analytics on your input. You can watch the network tab yourself, or disconnect from the internet after the page loads and keep working.

This matters more than it sounds. Server-based converters see every token, contract, medical record or customer file you paste, and their size caps exist because their servers pay for the bandwidth. Here the only limit is your device's memory, which is why a 100 MB file encodes as happily as a 10-byte string.

Character sets: from UTF-8 to EBCDIC

Text is not just bytes — it is bytes in an encoding. The same "é" is one byte in ISO-8859-1 and two in UTF-8. This is why the same text can produce different Base64 on different sites. Base64 Studio makes the choice explicit: 91 character sets on the encode side, 91 on the decode side with auto-detection that reports its reasoning, and clear warnings when a character cannot be represented in the set you chose. Legacy enterprise data in Windows-1251, Japanese Shift-JIS, or IBM's EBCDIC is handled as carefully as modern UTF-8 with emoji.

Built for developers and real work

The toolkit is shaped by the jobs that bring people to Base64 in the first place: debugging JWT claims (the middle segment of a token is Base64URL-encoded JSON — paste it into the decoder and read it), composing HTTP Basic Auth headers, extracting attachments from API responses, embedding icons as data URLs in email templates that block external images, checking file signatures in hex when a download is suspicious, and converting between alphabets when one system emits Base58 and another expects Base64.

There are keyboard-first touches throughout. A command palette onCtrl+K / ⌘+K searches all 24 tools. There are platform-aware shortcut hints, dark and light themes, and interfaces that work on a phone as well as a widescreen monitor. No account, no watermark, no "upgrade to remove the limit" — just tools that do their job and get out of the way.

Why Base64 Studio?

Because it combines the depth of a developer reference with the simplicity of a single-purpose converter: more character sets than any mainstream Base64 site, honest detection that explains its answers instead of guessing, one focused page per conversion, and privacy that is architectural rather than a policy promise. Bookmark the encoder, the decoder or the whole converter collection — they will still be here, still free, and still entirely in your browser.

Encode something. It never leaves this tab.

esc

Tools

Pages

↑↓ navigate↵ open⌘K

Keyboard shortcuts

Same shortcuts everywhere — ⌘ on macOS, Ctrl on Windows and Linux.