Skip to content
Hex Calculator

All Hex Tools

Every hexadecimal calculator and converter on this site — filter by category or browse them all in one searchable directory.

183 tools

Hex to Decimal

Convert base-16 values like FF into decimal numbers like 255.

Decimal to Hex

Convert a decimal number into its hexadecimal equivalent.

Hex to Binary

Convert hex digits into 4-bit binary groups.

Binary to Hex

Convert a binary string into compact hexadecimal.

Hex to Octal

Convert hex values into base-8 octal.

Octal to Hex

Convert an octal value into its hexadecimal equivalent.

Hex to Base36

Convert hex into the compact base36 alphanumeric system.

Base36 to Hex

Convert a base36 value into its hexadecimal equivalent.

Hex to Base2

Convert hex into base2 (binary) digits.

Base2 to Hex

Convert a base2 value into its hexadecimal equivalent.

Hex to Base8

Convert hex into base8 (octal) digits.

Base8 to Hex

Convert a base8 value into its hexadecimal equivalent.

Hex to Base10

Convert hex into base10 (decimal) digits.

Base10 to Hex

Convert a base10 value into its hexadecimal equivalent.

Hex to Base16

Normalize a hex value — base16 and hex are the same system.

Base16 to Hex

Normalize a base16 value into standard hex formatting.

Hex to Base32

Encode hex bytes as RFC 4648 Base32 (TOTP secrets, Crockford IDs).

Base32 to Hex

Decode a Base32 string back into raw hex bytes.

Hex to Base64

Encode hex bytes as RFC 4648 Base64 (data URIs, JWTs).

Base64 to Hex

Decode a Base64 string back into raw hex bytes.

Base12 to Hex

Convert a base12 (dozenal) value into its hexadecimal equivalent.

Hex Calculator

Add, subtract, multiply, and divide hex values directly.

Hex Addition Calculator

Add two hexadecimal numbers with a full carry-by-carry breakdown.

Hex Subtraction Calculator

Subtract hex values with a full borrow-by-borrow breakdown.

Hex Multiplication Calculator

Multiply hex values with a full partial-product breakdown.

Hex Division Calculator

Divide hex values and see the quotient and remainder.

Hex Modulo Calculator

Find the remainder of dividing one hex value by another.

Hex Average Calculator

Find the average of two hex values.

Hex Power Calculator

Raise a hex value to a power.

Hex Square Calculator

Square a hex value.

Hex Square Root Calculator

Find the square root of a hex value.

Hex Percentage Calculator

Find what percentage one hex value is of another.

Hex to Negative Decimal

Interpret a hex bit pattern as a signed decimal value.

Negative Decimal to Hex

Convert a negative decimal number into two's-complement hex.

Hex Two's Complement Calculator

Flip a hex value's sign using two's complement.

Hex One's Complement Calculator

Invert every bit of a hex value.

Hex Absolute Value Calculator

Find the absolute value of a signed hex bit pattern.

Hex Signed Integer Calculator

Read hex as an int8/int16/int32/int64 signed value.

Signed Integer to Hex

Encode a signed integer type as its hex bit pattern.

Hex Unsigned Integer Calculator

Read hex as a uint8/uint16/uint32/uint64 value.

Hex Negative Number Calculator

Check whether a hex value is negative at a given bit width.

Hex to ASCII

Turn hex byte pairs into readable ASCII text.

ASCII to Hex

Convert text into its hexadecimal byte representation.

Hex to UTF-8

Decode hex bytes as UTF-8 encoded text.

UTF-8 to Hex

Encode text, including emoji, as UTF-8 hex bytes.

Hex to Unicode

Look up which character a Unicode code point represents.

Unicode to Hex

Find a character's Unicode code point in hex.

Hex to UTF-16

Decode hex bytes as UTF-16 text.

UTF-16 to Hex

Encode text as UTF-16 hex bytes.

Hex to UTF-32

Decode hex bytes as UTF-32 text.

UTF-32 to Hex

Encode text as fixed 4-byte UTF-32 hex.

Hex to EBCDIC

Decode hex bytes using IBM mainframe EBCDIC (CP037).

EBCDIC to Hex

Encode text into EBCDIC (CP037) hex bytes.

Hex to BCD

Find the binary-coded-decimal form of a hex value.

BCD to Hex

Convert a packed decimal (BCD) value into hex.

Hex to Text

Convert a hex value back into plain text.

Text to Hex

Convert any text into hexadecimal.

Hex String to Text

Decode a hex string like bytes.fromhex() input.

Text to Hex String

Turn text into a hex string in the format code expects.

Hex Bytes to Text

Decode a raw byte array shown in hex.

Text to Hex Bytes

Turn text into its raw byte array in hex.

Hex to Character

Look up which single character a hex byte represents.

Character to Hex

Find the hex byte value of a single character.

Hex Escape Converter

Convert text into \xHH escape-sequence notation.

Hexadecimal Escape Decoder

Decode \xHH escape sequences back into text.

Hex to RGB

Convert a hex color code like #2563EB into RGB values.

RGB to Hex

Convert RGB values into a 6-digit hex color code.

Hex to RGBA

Convert a hex color into RGB values plus an alpha channel.

RGBA to Hex

Convert RGBA values into an 8-digit hex-with-alpha code.

Hex to HSL

Convert a hex color into hue, saturation, and lightness.

HSL to Hex

Convert HSL values into a 6-digit hex color code.

Hex to HSV

Convert a hex color into hue, saturation, and value.

HSV to Hex

Convert HSV values into a 6-digit hex color code.

Hex to HSB

Convert a hex color into hue, saturation, and brightness.

HSB to Hex

Convert HSB values into a 6-digit hex color code.

Hex to CMYK

Convert a hex color into print-ready CMYK values.

CMYK to Hex

Convert CMYK values into a 6-digit hex color code.

Hex to OKLCH

Convert a hex color into the perceptually uniform OKLCH space.

OKLCH to Hex

Convert OKLCH values into a 6-digit hex color code.

Hex to OKLab

Convert a hex color into the OKLab color space.

OKLab to Hex

Convert OKLab values into a 6-digit hex color code.

Hex to Tailwind

Convert a hex color into Tailwind's arbitrary value syntax.

Tailwind to Hex

Extract a hex color from a Tailwind arbitrary value class.

Hex to Bootstrap

Find the closest Bootstrap 5 theme color to a hex value.

Bootstrap to Hex

Convert a Bootstrap theme color name into hex.

Hex to Material Design

Find the closest Material Design 500-tier color to a hex value.

Material Design to Hex

Convert a Material Design color name into hex.

Hex to UIColor

Convert a hex color into iOS UIKit's UIColor syntax.

UIColor to Hex

Convert a UIColor call into a hex color code.

Hex to SwiftUI Color

Convert a hex color into SwiftUI's Color syntax.

Hex to Jetpack Compose Color

Convert a hex color into Jetpack Compose's Color syntax.

Hex to CSS Color

Find the standard CSS named color for an exact hex match.

CSS Color to Hex

Convert a CSS named color like cornflowerblue into hex.

Hex Color Tint Calculator

Lighten a hex color by blending it toward white.

Hex Color Difference Calculator

Measure the perceptual distance between two hex colors.

Hex Color Opacity Calculator

Convert a hex color and opacity percentage into rgba() and hex8.

Hex Bitwise Calculator

Run AND, OR, XOR, and NOT on hex values with aligned binary output.

Hex AND Calculator

Bitwise AND two hex values, bit by bit.

Hex OR Calculator

Bitwise OR two hex values, bit by bit.

Hex XOR Calculator

Bitwise XOR two hex values, bit by bit.

Hex NOT Calculator

Bitwise NOT (invert) a hex value at your chosen bit width

Hex NAND Calculator

Bitwise NAND (NOT AND) two hex values

Hex NOR Calculator

Bitwise NOR (NOT OR) two hex values

Hex XNOR Calculator

Bitwise XNOR (NOT XOR) two hex values

Hex Shift Calculator

Shift a hex value left or right by any amount, with logical and arithmetic right-shift modes.

Hex Left Shift Calculator

Shift a hex value left by any amount

Hex Right Shift Calculator

Shift a hex value right by any amount, in either logical or arithmetic mode.

Hex Arithmetic Shift Calculator

Arithmetic right-shift a hex value, preserving its sign bit

Hex Logical Shift Calculator

Logically shift a hex value left or right, always filling vacated bits with 0

Hex Rotate Left Calculator

Rotate a hex value's bits left by any amount

Hex Rotate Right Calculator

Rotate a hex value's bits right by any amount

Hex Bit Mask Calculator

Build a hex bitmask covering a specific bit range

Hex Bit Set Calculator

Set a specific bit of a hex value to 1 by its index

Hex Bit Clear Calculator

Clear a specific bit of a hex value to 0 by its index

Hex Bit Toggle Calculator

Flip a specific bit of a hex value by its index

Hex Bit Count Calculator

Count how many bits are set to 1 in a hex value (popcount) at your chosen bit width.

Hex CRC Calculator

Compute a CRC checksum from hex or byte input.

Hex CRC32 Calculator

Compute the CRC32 checksum used in ZIP and PNG formats.

Hex Checksum Calculator

Compute a simple additive checksum over hex bytes.

Hex CRC16 Calculator

Compute the CRC-16/MODBUS checksum from hex byte input

Hex CRC8 Calculator

Compute a CRC8 checksum (polynomial 0x07) from hex byte input

Hexadecimal Checksum Calculator

Compute an 8-bit additive checksum over a sequence of hexadecimal bytes

Hex XOR Checksum Calculator

Compute an XOR checksum by XORing every byte of a hex sequence together

Hex LRC Calculator

Compute the LRC (Longitudinal Redundancy Check) of a hex byte sequence

Hex Two's Complement Checksum Calculator

Compute a two's-complement checksum: sum the bytes, then take the two's complement of the result

Hex to IP

Convert a hex value into a dotted IPv4 address.

IP to Hex

Convert an IPv4 address into its hexadecimal form.

Hex to MAC Address

Format a hex string as a MAC address.

Hex to IPv4 Converter

Convert an 8-digit hex value into a dotted IPv4 address

IPv4 to Hex Converter

Convert a dotted IPv4 address into its 8-digit hexadecimal form

Hex to IPv6 Converter

Convert a 32-digit hex value into a standard, compressed IPv6 address

IPv6 to Hex Converter

Convert a standard IPv6 address, including compressed :: notation, into its full 32-digit hex form.

MAC Address to Hex Converter

Strip the separators from a MAC address and get its raw 12-digit hex form

MAC Address to Decimal Converter

Convert a MAC address into a single 48-bit decimal number

MAC Address to Binary Converter

Convert a MAC address into its 48-bit binary representation, shown byte by byte

Hex Network Byte Order Converter

Convert a hex value from host byte order to network byte order (big-endian)

Hex Little Endian IP Converter

Convert a dotted IPv4 address into hex, then reverse the byte order to little-endian

IPv4 Hex Converter

Convert a dotted IPv4 address into its 8-digit hex form

Hex Little Endian Converter

Reverse byte order to convert big-endian hex to little-endian.

Hex Big Endian Converter

Reverse byte order to convert little-endian hex to big-endian.

Little Endian Hex to Decimal Converter

Interpret hex bytes stored in little-endian order and get their decimal value

Decimal to Little Endian Hex Converter

Convert a decimal number into little-endian hex bytes

Hex to Little Endian Converter

Convert a hex value to little-endian byte order

Hex to Big Endian Converter

Convert a hex value to big-endian byte order

Reverse Hex Bytes

Reverse the byte order of a hex value

Hex Byte Swap

Swap the byte order of a hex value

Hex Endianness Converter

Convert a hex value between big-endian and little-endian

16-bit Hex Endian Converter

Swap the byte order of a 16-bit (2-byte) hex value

32-bit Hex Endian Converter

Swap the byte order of a 32-bit (4-byte) hex value

64-bit Hex Endian Converter

Swap the byte order of a 64-bit (8-byte) hex value

Hex to Date

Decode a hex timestamp into a readable date.

Date to Hex

Convert a date into its hex Unix timestamp.

Hex Timestamp Converter

Convert between hex and Unix timestamps.

Hex Unix Timestamp Converter

Convert a hex Unix timestamp into its plain decimal seconds value

Unix Timestamp to Hex Converter

Convert a decimal Unix timestamp into its 8-digit hex form

Hex Epoch Converter

Convert a hex epoch value into its plain decimal seconds count

Hexadecimal Timestamp Converter

Convert a decimal Unix timestamp into hexadecimal

Hex to Python Integer

Convert hex into a Python int literal.

Hex to JavaScript Number

Convert hex into a JavaScript number.

Hex to C Integer

Convert hex into a C integer literal.

Hex to C++ Integer Converter

Convert a hex value into a C++ integer literal

Hex to Int in C# Converter

Convert a hex value into a C# integer literal

Int to Hex in C# Converter

Convert a C# int to its hexadecimal string form

Hex to Java Integer Converter

Convert a hex value into a Java int literal

Java Integer to Hex Converter

Convert a Java int to its hexadecimal string form

Hex to PHP Integer Converter

Convert a hex value into a PHP integer literal

PHP Integer to Hex Converter

Convert a PHP integer to its hexadecimal string form

Hex to Rust Integer Converter

Convert a hex value into a Rust integer literal

Rust Integer to Hex Converter

Convert a Rust integer to its hexadecimal string form

Hex to Go Integer Converter

Convert a hex value into a Go integer literal

Go Integer to Hex Converter

Convert a Go integer to its hexadecimal string form

Hex to Decimal in AWK

Convert a hex value to decimal, with the exact gawk strtonum() syntax

Hex to 7-Segment Display Converter

Convert hex digits into their 7-segment display encoding

JavaScript Number to Hex Converter

Convert a JavaScript number to its hexadecimal string form

Python Integer to Hex Converter

Convert a Python int to its hexadecimal form

Hexadecimal Table

Full 0-255 hex, decimal, and binary lookup table.

ASCII Hex Table

ASCII characters with their hex and decimal codes.

Common Hex Values

Frequently used hex constants like 0xFF and 0x7F, explained.

Hex to Binary Table

A focused hex/binary-only lookup table, 0-255.

Hex to Decimal Table

A focused hex/decimal-only lookup table, 0-255.

Hexadecimal 0-255 Converter

Enter any byte and see its full breakdown in every base at once.

Hexadecimal 0-255 Chart

Every byte value laid out in a 16x16 visual grid.

Hexadecimal Conversion Chart

Hex place values and single-digit mappings, the core facts behind every conversion.