Base64 Kodlayıcı / Çözücü

Metni veya dosyaları Base64’e kodlayın ve geri çözün; URL-güvenli çıktı ve satır kaydırma desteğiyle.

0 chars · 0 bytes
0 chars · 0 bytes
Dosyayı buraya bırakın veya seçmek için tıklayın
Her dosya türü. Kodlama tamamen tarayıcınızda yapılır.

What is this Base64 encoder and decoder?

This is a free, browser-based Base64 tool that encodes and decodes text and files instantly — supporting standard and URL-safe alphabets, optional line wrapping and full UTF-8 — with zero data leaving your device, because every conversion runs in JavaScript on your own machine.

How do I encode text or a file to Base64 online without uploading it?

Paste your text or drop a file and the result appears instantly. Encoding runs entirely in your browser using the native TextEncoder and btoa APIs, so your data is never uploaded to a server.

Key features

Encode and decode in one place
Switch between encoding and decoding with a single click, or swap the output back into the input to chain conversions.
URL-safe and standard alphabets
Toggle URL-safe output that replaces + and / with - and _ and drops padding, ready to drop into query strings and JWTs.
File to Base64 and Data URI
Drop any file to get its Base64 string and a ready-to-use data URI for inline images, CSS or email attachments.
Full UTF-8 support
Emojis, accents and non-Latin scripts encode and decode correctly because the tool uses Unicode-aware byte handling, not legacy character codes.

How to use it

Choose Encode or Decode, then pick the Text or File tab. For text, type or paste into the left pane and read the result on the right; toggle URL-safe output or 76-character line wrapping as needed. For files, drop one onto the upload area to get its Base64 string and data URI. Copy or download the result — nothing is ever sent to a server.

Frequently asked questions

Is my text or file uploaded to a server?

No. The tool is 100% client-side — encoding and decoding happen entirely in your browser, so even confidential data and private files are safe to use.

What is URL-safe Base64?

URL-safe Base64 replaces the + and / characters with - and _ and removes trailing padding, so the string can be used in URLs, file names and JWTs without extra escaping.

Why does my decoded text look garbled?

The input is probably not valid Base64, or it was encoded from a binary file rather than UTF-8 text. Check for stray characters, and handle binary files through the File tab instead.

Built by the Toolbox team using the browser's native TextEncoder, TextDecoder, btoa and atob APIs and tested against the Base64 standard (RFC 4648), so the output matches what your servers and libraries expect.