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
Base36 Tool
Logo
Security, Crypto & Encoding/Base36 Encoder

Base36 Tool

Convert numbers and text to Base36. Uses 0-9 and A-Z. Compact case-insensitive encoding for URL shorteners and IDs.

What is Base36 Tool?

Base36 is a positional numeral system that uses 36 symbols: the Arabic numerals 0–9 and the Latin letters A–Z. It is the most compact case-insensitive alphanumeric numeral system. This property makes it extremely useful for creating human-readable identifiers that need to be communicated verbally or typed manually without worrying about capitalization. It is widely used in URL shortening services (like bit.ly), product serial numbers, and legacy systems that do not support case sensitivity.

Input Formats

  • Integers (for conversion)
  • Plain text
  • Base36 strings

Output Results

  • Base36 string
  • Decoded integer/text
  • Copy-ready result

Key Features

Case Insensitive: 'A' and 'a' are treated as the same value
Compact: Represents large numbers in fewer characters than decimal
URL Friendly: Safe for use in URLs without encoding
Privacy: 100% Client-side processing
Legacy Compatible: Works with systems that uppercase all input
Bidirectional: Encode and Decode instantly
Simple Alphabet: Uses only 0-9 and A-Z
Best & Simple: The best simple Base36 converter for developers
Shareable LinksShare Base36 encoded/decoded strings. (Limit: 5KB)

Who is this for?

URL Shortening

Converting database IDs (integers) to short alphanumeric strings for links.

URL shortenerSlug generationShort link

Asset Tagging

Creating compact, case-insensitive serial numbers for physical inventory.

Asset tagSerial numberInventory ID

Legacy Systems

Interfacing with old mainframes or file systems that only support uppercase alphanumeric characters.

MainframeLegacy supportUppercase only

How to Use

1

Paste your text or number.

2

Select 'Encode' to convert to Base36.

3

Select 'Decode' to convert back.

4

Copy the result.

Examples

Input

123456789

Output

21I3V9

Common Errors

  • Using special characters (only 0-9 and A-Z allowed)
  • Expecting case sensitivity
  • Confusing with Base62 (which is case-sensitive)

Code Examples

JavaScript

const num = 123456789;
const base36 = num.toString(36).toUpperCase();
console.log(base36);

Python

def base36encode(number):
    alphabet = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    base36 = ''
    while number:
        number, i = divmod(number, 36)
        base36 = alphabet[i] + base36
    return base36 or alphabet[0]

Frequently Asked Questions

Why Base36?
It's the most efficient way to store data using only numbers and letters without worrying about capitalization.
What is the largest Base36 number?
Technically infinite, but in JavaScript, the safe integer limit applies. I handle large numbers as strings to avoid errors.
Can I use special characters?
No. Base36 only supports 0-9 and A-Z. Any other character will cause an error.