RunToolz iconRunToolz
Welcome to RunToolz!

Base64 Encoder/Decoder

Encode text to Base64 or decode Base64 strings back to text.

Result

How to use

  1. Select Encode or Decode tab
  2. Enter your text or Base64 string in the input area
  3. Click the button to convert
  4. Copy the result or use swap button to reverse

Supports UTF-8 characters and URL-safe Base64 format

What is Base64?

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It was designed to carry data stored in binary formats across channels that only reliably support text content.

How It Works

Base64 encoding converts every 3 bytes of binary data into 4 ASCII characters using a set of 64 characters: A-Z, a-z, 0-9, +, and /. The = character is used for padding when the input length isn't divisible by 3.

Character Set
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/

Common Use Cases

Email Attachments

MIME encoding for binary files in emails

Data URIs

Embedding images directly in HTML/CSS

JWT Tokens

JSON Web Tokens use Base64URL encoding

URL Parameters

Safely passing binary data in URLs

XML/JSON

Embedding binary in text-based formats

Database Storage

Storing binary data in text columns

Frequently Asked Questions