Base64 text / file
{{ inputBytes }} bytes in • {{ outputBytes }} bytes out (×{{ sizeRatio }})
Decoded text
Recent Decodes
  • {{ h }}

Base64 encoding converts binary data into a limited ASCII set for safe transmission through text-only systems. Decoding reverses this process, restoring original bytes so you can read the content or reconstruct the file. Understanding Base64 helps you debug APIs, inspect tokens, and handle data URIs. The scheme uses sixty-four symbols plus optional padding to represent every six-bit segment.

This decoder processes strings or uploaded files entirely within your browser. You paste text, toggle URL-safe and padding options, and receive immediate plain-text output. Size indicators reveal compression ratios, and clipboard shortcuts speed up repetitive tasks. A history sidebar preserves recent conversions for quick retrieval. The tool aids peer reviews by providing transparent transformations without external services. Hotkeys accelerate batch workflows.

Use the decoder when examining API payloads, decoding configuration files, or teaching students about data representation. Quick access supports secure offline work in restricted environments. Developers troubleshoot authentication tokens, while security analysts inspect embedded data without risking leaks. Administrators convert certificate blobs before importing them into management consoles. Content creators extract hidden text from images for accessibility checks.

Files are processed locally in your browser; nothing is uploaded.

Features:

Explore the key capabilities that accelerate decoding tasks.

  • Dual input options: paste text or drop a file.
  • URL-safe variant conversion with one checkbox.
  • Automatic padding restoration for malformed strings.
  • Real-time byte counters for input and output.
  • Instant output preview in read-only textarea.
  • One-click copy with visual toast confirmation.
  • Persistent history panel storing recent decodes.

Step-by-Step Guide:

Decode Base64 data quickly by following these steps.

  1. Paste a Base64 string or drop a file into the left area.
  2. Enable URL-safe or no-padding options if neededTip.
  3. Review decoded text in the right panel instantly.
  4. Press Copy to clipboard or use Ctrl + Enter to copy.
  5. Click the clock icon to open recent decodes.
  6. Clear history with the trash button to remove entries.

FAQ:

These answers cover common decoding concerns.

What is URL-safe Base64?

URL-safe replaces “+” and “/” with “-” and “_” characters, preventing conflicts in query strings and file names.

Why is output empty?

An invalid or truncated Base64 string cannot be decoded. Restore missing characters or padding then try again.

Does the tool support binary files?

Yes. Drop any file; the input shows its Base64 representation, and the decoded output includes the original bytes.

How is my privacy protected?

All processing happens client-side; data never leaves your device, ensuring confidentiality.

Can I encode text?

Use the Base64 Encoder companion tool on the same site for encoding tasks.

Embed this tool into your website using the following code: