Hexadecimal Converter
Decimal ↔ hex, and text to hex bytes.
Type into any field — the others update live. Accepts a leading - for negatives and an optional 0x/0b/0o prefix.
Pasted hex accepts any spacing, commas, colons, and 0x/\x prefixes — even one continuous string.
This free hexadecimal converter does two jobs. In Number basesmode, every field — decimal, hexadecimal, binary and octal — is live and editable: type a value in any base and the other three update instantly, with big-integer precision (no 53-bit rounding), optional uppercase and a0x prefix, and a signed two's-complement reading at 8, 16, 32 and 64 bits. In Text ↔ Hex mode it converts text to its hex byte codes and back across UTF-8, UTF-16 (little- and big-endian) and Latin-1, with a choice of byte separators (space, none, comma, colon, or0x/\x prefixes) and upper- or lowercase output. You can load a file to dump its bytes as hex, copy any field, or download the hex. Pasted hex is forgiving — mixed spacing, commas, colons, prefixes, or one unbroken string all parse.
Hexadecimal is the compact base-16 notation used for colors, memory addresses, byte data and machine code, where each digit maps to exactly four bits.
Related tools
Color Converter
Convert between HEX, RGB and HSL colors.
Unit Converter
Convert length, weight & temperature units.
Length Converter
Metres, feet, miles, inches & more.
Weight & Mass Converter
Kilograms, pounds, ounces, stone & more.
Temperature Converter
Celsius, Fahrenheit & Kelvin.
Area Converter
Square metres, acres, hectares & more.