All hex tools
24 free tools. They all run in your browser, so nothing you type leaves your device.
1A2B=Converters
Each converter does one job and shows its working next to the result.
- Decimal to hexTurn decimal numbers, fractions included, into hex
2024→ - Hex to octalRegroup the bits from fours into threes
1ED→ - Hex to binarySplit each hex digit into its four bits
3C→ - Hex to textDecode hex bytes into ASCII or UTF-8 text
48 69→ - Signed hex to decimalRead hex as a two's complement signed number
FF9C→ - Little endian hex to decimalReverse the byte order, then convert
E8 03 00 00→ - Hex to Base64Encode hex bytes as Base64 or Base64URL
48656C6C6F→ - Hex to dateTurn a hex timestamp into a UTC and local date
5F5E1000→ - Hex to floatDecode IEEE 754 single and double precision
3F800000→ - Hex to RGBTurn a hex colour code into red, green and blue
#2440C8→ - Hex to IP addressTurn 8 hex digits into a dotted IPv4 address
C0A80001→ - Bulk hex to decimalConvert a whole list at once and export CSV
FF, 1A, 10→
Learn
Learn the method, look up a value, or test yourself.
Code
Live code for each language, with the exact output for the value you type.
- Hex to decimal in Pythonint(x, 16) and the cases around it
int("FF", 16)→ - Hex to decimal in JavaScriptparseInt, Number and BigInt
parseInt("FF", 16)→ - Hex to decimal in JavaInteger, Long and BigInteger parsing
Integer.parseInt→ - Hex to decimal in Cstrtol, std::stoul and Convert.ToInt32
strtoul(s, 0, 16)→ - Hex to decimal in ExcelHEX2DEC, DECIMAL and their limits
=HEX2DEC("FF")→ - Hex to decimal in Linuxprintf, $(( )) and bc in Bash
echo $((16#FF))→ - Hex to decimal code examplesGo, Rust, PHP, Kotlin, SQL and more
Go, Rust, PHP…→