WebToolset Logo
WebToolset
All Categories
Categories
Developer & Data formatters
Security, Crypto & Encoding
String & Text Manipulation
Image Tools
Math, Time & Network
© 2025 WebToolset
Home
Security, Crypto & Encoding
Base45 Tool
Logo
Security, Crypto & Encoding/Base45 Encoder

Base45 Tool

Encode and decode Base45 strings. The standard encoding for QR codes and EU Digital COVID Certificates. Optimized for alphanumeric mode.

What is Base45 Tool?

Base45 is a binary-to-text encoding scheme defined in RFC 9285. It is specifically designed to be used in QR codes. QR codes have an 'alphanumeric' mode that can store 45 specific characters (0-9, A-Z, space, $, %, *, +, -, ., /, :) more efficiently than general binary data. Base45 encodes any binary data into this 45-character set, allowing QR codes to store significantly more data in the same space compared to Base64. It is famously used in the EU Digital COVID Certificate (Green Pass).

Input Formats

  • Plain text
  • Base45 strings
  • Binary data

Output Results

  • Base45 string
  • Decoded text
  • Copy-ready result

Key Features

QR Optimized: Maximizes data density in QR codes
EU Standard: The encoding used for EU Digital COVID Certificates
High Efficiency: Stores more data in a QR code than Base64
Privacy: 100% Client-side processing
RFC 9285: Follows the official IETF specification
Bidirectional: Encode and Decode instantly
Specialized: The only tool you need for decoding Green Pass raw data
Best & Niche: The best specialized Base45 tool for QR developers
Shareable LinksShare Base45 encoded/decoded strings. (Limit: 5KB)

Who is this for?

QR Code Generation

Encoding binary data (like compressed CWTs) to fit into a smaller QR code.

QR code capacityAlphanumeric modeData density

Health Certificates

Decoding the raw payload of an EU Digital COVID Certificate.

Green PassCOVID certificateHC1Health data

Compact Storage

Storing binary data on printed media where alphanumeric characters are preferred.

Printed codeOptical storagePaper backup

How to Use

1

Paste your text or Base45 string.

2

Select 'Encode' to convert to Base45.

3

Select 'Decode' to convert back.

4

Copy the result.

Examples

Input

Hello World

Output

%69 VD92EX0

Common Errors

  • Using characters outside the 45 allowed chars
  • Confusing with Base64 or Base32
  • Expecting it to work efficiently outside of QR codes

Code Examples

Python

import base45
encoded = base45.b45encode(b'Hello World')
print(encoded)

Frequently Asked Questions

Why Base45?
QR codes have a special mode for 45 specific characters. Base45 converts data to use exactly those characters, making the QR code smaller.
What characters are used?
I use 45 specific characters: 0-9, A-Z, space, $, %, *, +, -, ., /, and :.
Is it widely used?
Yes! It's the standard for things like the EU Digital COVID Certificate and other modern QR-based systems.