Base36 to Hex Converter
Convert a base36 value — digits 0-9 and letters a-z — into its hexadecimal equivalent, the reverse of hex to base36.

Built by
Swapnil SanghviFull-Stack Web Developer & WordPress Developer
Swapnil Sanghvi is a full-stack web and WordPress developer, UI designer, and full-time freelancer who builds and maintains Hex Calculator.
Further reading: Hexadecimal — Wikipedia
How to Convert Base36 to Hex
Convert through decimal, the same common ground used for any conversion between two bases that don't share a clean digit relationship. Multiply each base36 digit by 36 raised to its position (counting from 0 on the right) and add the results to get the decimal value, then convert that to hex normally.
Letters in the base36 value represent digits 10 and above — a is 10, b is 11, and so on up through z at 35 — the same idea as hex's A-F, just covering more digits.
Base36 to Hex Example, Step by Step
BN = 1A3
BN (base36) = 0x1A3 (hex)
BN = (B x 36^1) + (N x 36^0) = (11 x 36) + (23 x 1) = 396 + 23 = 419 419 decimal = 1A3 hex
| Step | Description | Result |
|---|---|---|
| Convert B | B is worth 11, at the 36^1 place: 11 x 36 = 396 | 396 |
| Convert N | N is worth 23, at the 36^0 place: 23 x 1 = 23 | 23 |
| Add | 396 + 23 = 419 decimal | 419 |
| Convert to hex | 419 decimal = 1A3 hex | 1A3 |
This mirrors converting hex to decimal digit by digit — only the base (36 instead of 16) and the digit alphabet change.
Common Mistakes When Converting Base36 to Hex
- Misreading a letter's value — b is 11, not 2, since letters continue after the ten numeric digits.
- Using the wrong place-value base (16 instead of 36) when multiplying out digits.
- Forgetting the final conversion step from decimal back to hex.
- Assuming this handles Base64-encoded text, which is a different, non-numeral encoding scheme.
Limitations
- Handles non-negative whole numbers only — for negative values, use the Signed Integer or Two's Complement converters instead.
- Uses arbitrary-precision (BigInt) math, so results aren't capped at 32-bit or 64-bit boundaries the way a typical calculator would be.
Frequently Asked Questions
How do you convert base36 to hex?
Convert the base36 value to decimal first — multiply each digit by 36 raised to its position and sum the results — then convert that decimal value to hex using the standard repeated-division-by-16 method.
What do the letters in a base36 value mean?
Each letter is a digit worth 10 or more: a=10, b=11, up through z=35 — the same idea as A-F in hex, just extended to cover all 26 letters instead of stopping at F.
Where would I run into a base36 value that needs converting to hex?
Short URL slugs, database ID encoders, and some hashing or checksum schemes use base36 to keep identifiers compact — converting one back to hex is useful when you need to compare it against or feed it into hex-based tooling.
Is base36 case-sensitive when I enter it here?
No — this converter treats uppercase and lowercase letters as the same digit values, so BN and bn convert identically.
What's the largest hex value I can get from a short base36 input?
It grows fast — a 4-character base36 value can represent numbers up into the millions, since each additional base36 digit multiplies the range by 36.
Is this the same as converting Base64-encoded text to hex?
No — base36 here is a positional numeral system for representing a single number compactly. Base64 encoding is a completely different, byte-oriented scheme for representing arbitrary binary data as text, not a number system.