logo
logo

Free Base64 Encode & Decode Online - Encoder/Decoder Tool | Lembog

Base64 Encoder & Decoder

Encode text to Base64 or decode Base64 back to text

Free Online Base64 Encoder & Decoder

Convert text to Base64 and decode Base64 back to text instantly with our free online tool. Perfect for developers, API testing, and data encoding.

What is Base64?

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used for:

  • Encoding binary data in emails (MIME)
  • Embedding images in HTML/CSS
  • Storing complex data in JSON/XML
  • API authentication (Basic Auth)
  • URL-safe data transmission

How to Use

Encoding Text to Base64

  1. Select the Encode tab
  2. Enter your text in the input field
  3. Click "Encode to Base64"
  4. Copy the encoded result

Decoding Base64 to Text

  1. Select the Decode tab
  2. Paste your Base64 string
  3. Click "Decode from Base64"
  4. View the original text

Features

  • Real-time conversion - Instant encoding and decoding
  • UTF-8 support - Works with international characters
  • Swap function - Quickly switch between encode/decode
  • Copy to clipboard - One-click copying
  • Privacy first - All processing in your browser

Base64 Character Set

Base64 uses 64 characters for encoding:

  • A-Z (26 characters)
  • a-z (26 characters)
  • 0-9 (10 characters)
    • and / (2 characters)
  • = for padding

Common Use Cases

API Authentication

Authorization: Basic base64(username:password)

Data URIs

data:image/png;base64,iVBORw0KGgo...

JSON Web Tokens

JWT tokens use Base64URL encoding for header and payload.

Why Use Our Tool?

  • 100% free, no signup required
  • Works offline after loading
  • No data sent to servers
  • Mobile-friendly interface
  • Fast and reliable

Encode and decode Base64 with confidence!