Skip to content
Hex Calculator

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.

Hexadecimal result
0x1A3

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
StepDescriptionResult
Convert BB is worth 11, at the 36^1 place: 11 x 36 = 396396
Convert NN is worth 23, at the 36^0 place: 23 x 1 = 2323
Add396 + 23 = 419 decimal419
Convert to hex419 decimal = 1A3 hex1A3

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.

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.