Base64 Encoder/Decoder

Encode any text or binary data to Base64 and decode Base64 strings back to readable text. Supports URL-safe Base64, live character count, and file upload encoding.

Open Base64 Encoder/Decoder → free, no sign-in
open full screen ↗

Base64 is a way to represent arbitrary binary data as printable ASCII characters — essential for embedding data in HTML, CSS, JSON, email headers, and JWT tokens. This tool encodes plain text or uploaded files to Base64 and decodes Base64 strings back to text or downloadable files, all in your browser with no server involvement.

01 Open the Base64 Encoder/Decoder
02 Choose Encode or Decode at the top
03 Paste your text or upload a file
04 Toggle URL-safe mode if needed for use in URLs or JWT
05 Copy the result with one click
Category Dev Tools
Cost Free
Sign-in required No
Files uploaded Never — runs in your browser
Published May 11, 2026

What is Base64 used for?

Base64 is used anywhere binary data needs to be stored or transmitted as text — JWT tokens, data URIs, MIME email attachments, HTTP Basic Auth headers, and more.

What is URL-safe Base64?

Standard Base64 uses + and / which have special meaning in URLs. URL-safe Base64 replaces them with - and _ so the encoded string can be used in URLs without percent-encoding.

Can I encode a file?

Yes — upload any file and the tool encodes it to Base64. This is the same process used to create data URIs for images.

Is Base64 encryption?

No — Base64 is encoding, not encryption. Anyone can decode a Base64 string without a key. Never use it to hide sensitive data.

Is this free?

Yes — free with no sign-in.

Free, instant, no sign-in required. Opens directly in your browser.

Open Base64 Encoder/Decoder → Browse all tools

— more free tools like this

QR Code GeneratorGenerate custom QR codes for various data types like URLs, text, WiFi, emails, and vCards.Images to PDFMerge multiple image files into a single PDF document with customizable page settings.Password GeneratorGenerate secure, random passwords with customizable lengths, character sets, and quantities.Random Password GeneratorGenerate secure, random passwords with customizable length and character sets.Scanned Pages to PDFCombine multiple scanned PNGs or JPGs into a single PDF document by dragging and dropping files.GIF to JPGConvert animated GIFs into JPG images, extracting all frames or just the first.

All File Converter Tools →

Need it to work a little differently?

Describe the tool you need in plain words and Doathingy builds it for you in about a minute. It runs in your browser and stays in your library. Free to start.

Build your own tool →