Hex Tools
A complete set of browser-based hexadecimal utilities: number-base conversions, hex color conversions, bitwise operations, endianness swaps, a hex editor and hexdump viewer, novelty hex formats, and ASCII-art hex generators. Everything runs locally in your browser, so nothing you paste is ever sent to a server.
Arbitrary Base to Hex Converter
Convert a number in any base from 2 (binary) to 36 into its hexadecimal representation.
Open toolASCII to Hex Converter
Convert plain ASCII text to space-separated uppercase hex bytes, one pair per character.
Open toolBCD to Hex Converter
Decode a Binary-Coded Decimal (BCD) binary string back into its hexadecimal value.
Open toolBig Endian Hex to Little Endian Hex Converter
Convert a big-endian hex value into its little-endian byte order.
Open toolBinary to Hex Converter
Convert a binary value into its uppercase hexadecimal representation.
Open toolCharacters to Hex HTML Entities Converter
Encode every character of your text as a real, standard hexadecimal HTML/XML character reference.
Open toolCMYK to Hex Color Converter
Convert CMYK percentages (cyan, magenta, yellow, key/black) into a #RRGGBB hex color.
Open toolCustom Hex Generator
Generate a random hex value with a custom length, case, prefix, and digit grouping.
Open toolDecimal to Hex Converter
Convert a decimal integer into its hexadecimal representation, of any size.
Open toolDoubleHex to Hex Converter
Take every 2nd digit of a DoubleHex string to recover the original hex string.
Open toolFakeHex to Hex Converter
Reverse this site's FakeHex letter cipher back to the original hex string, exactly.
Open toolFloat to Hexfloat Converter
Convert a decimal float into C99/printf %a hexfloat notation, exactly, with no rounding.
Open toolFloating Point Number to Hex Converter
Encode a decimal float as its raw IEEE-754 bit pattern in hex (32-bit or 64-bit).
Open toolGray Code to Hex Converter
Decode a binary Gray code string back into its original hexadecimal value.
Open toolHalfHex to Hex Converter
Double each HalfHex digit's value back toward hex, a best-effort (not exact) inverse.
Open toolHex Addition Calculator
Add two hexadecimal numbers together and get the exact hex sum.
Open toolHex Addition Table Generator
Generate an NxN addition table with row/column headers and cell values all in hexadecimal.
Open toolHex AND Calculator
Compute the bitwise AND of two hexadecimal values, digit by digit.
Open toolHex Bytes to File Converter
Convert one continuous hex string, strictly two digits per byte, into a downloadable binary file.
Open toolHex Color Inverter
Invert a #RRGGBB hex color channel-by-channel (255 - value), with a before/after swatch comparison.
Open toolHex Color to CMYK Converter
Convert a #RRGGBB hex color into CMYK (cyan, magenta, yellow, key/black) percentages.
Open toolHex Color to HSL Converter
Convert a #RRGGBB hex color into HSL (hue, saturation, lightness) values.
Open toolHex Color to HSV Converter
Convert a #RRGGBB hex color into HSV (hue, saturation, value/brightness) values.
Open toolHex Color to LAB Converter
Convert a #RRGGBB hex color into CIE L*a*b* (D65) values via the full sRGB->XYZ->Lab pipeline.
Open toolHex Color to RGB Converter
Convert a 6-digit #RRGGBB hex color into an rgb(r, g, b) CSS value, no alpha channel.
Open toolHex Color to RGBA Converter
Convert a #RRGGBB or #RRGGBBAA hex color into an rgba(r, g, b, a) CSS color value.
Open toolHex Digit Colorizer
Render every individual digit of any hex string in a distinct cycling rainbow color for readability.
Open toolHex Digit Decrementer
Decrement every individual digit in a hex list by N, wrapping around modulo 16.
Open toolHex Digit Duplicator
Repeat every digit of a hex value a set number of times in place.
Open toolHex Digit Extractor
Pull out a single hex digit from a value by its 0-based position, counted from the left.
Open toolHex Digit Incrementer
Increment every individual digit in a hex list by N, wrapping around modulo 16.
Open toolHex Digit Remover
Remove every occurrence of a chosen digit character from a whole list of hex values.
Open toolHex Digit Replacer
Find and replace one hex digit character with another across a whole list of hex values.
Open toolHex Digit Sorter
Sort each hex value's own digits, ascending or descending, independently per value.
Open toolHex Division Calculator
Divide one hexadecimal number by another and get the exact hex quotient and remainder.
Open toolHex Division Table Generator
Generate an NxN division table showing hex quotient and remainder for every row/column pair.
Open toolHex Editor
Upload a file or paste text and edit its raw bytes directly in a classic three-column hex editor.
Open toolHex Endianness Swapper
Reverse the byte order of a hex string, swapping between little-endian and big-endian layout.
Open toolHex Grid Generator
Generate a full rows x columns ASCII hex grid, each cell labeled with its sequential hex index.
Open toolHex HTML Entities to Characters Converter
Decode hexadecimal HTML/XML character references (&#xHHHH;) back to their original characters.
Open toolHex Multiplication Calculator
Multiply two hexadecimal numbers together and get the exact hex product.
Open toolHex Multiplication Table Generator
Generate an NxN multiplication table with row/column headers and cell values all in hexadecimal.
Open toolHex NAND Calculator
Compute the bitwise NAND of two hexadecimal values, digit by digit.
Open toolHex Nibble Reverser
Reverse the order of a hex value's individual digits, distinct from byte-level endianness swaps.
Open toolHex Nibble Rotator
Deterministically rotate the individual hex digits of a value by a chosen number of positions.
Open toolHex Nibble Shuffler
Randomly shuffle the individual hex digits of a value using cryptographically secure randomness.
Open toolHex NOR Calculator
Compute the bitwise NOR of two hexadecimal values, digit by digit.
Open toolHex NOT Calculator
Apply the NOT logic gate to a hexadecimal value, flipping every bit within its own width.
Open toolHex Number Analyzer
Analyze a hex value's decimal equivalent, bit length, digit frequency, palindrome status, and popcount.
Open toolHex Number Colorizer
Render each whole hex number in a whitespace/comma separated list in a distinct cycling color.
Open toolHex Number Inverter
Flip every bit of a hexadecimal number, a quick way to compute its bitwise complement.
Open toolHex Number Joiner
Combine a list of hex numbers, one per line or space-separated, into a single hex string.
Open toolHex Number Rounder
Round every hex value in a list to the nearest multiple of a hex rounding unit.
Open toolHex Number Speller
Spell out a hex number digit by digit in English, using standard hex digit names for A-F.
Open toolHex Number Splitter
Split one hex string into fixed-size chunks, one chunk per output line.
Open toolHex OR Calculator
Compute the bitwise OR of two hexadecimal values, digit by digit.
Open toolHex Sequence Generator
Generate a run of consecutive hex values from a start value, with custom separator and padding.
Open toolHex Spiral Generator
Arrange consecutive hex values into a square ASCII grid, filled in clockwise spiral order.
Open toolHex Subtraction Calculator
Subtract one hexadecimal number from another and get the exact hex difference, including negative results.
Open toolHex to Arbitrary Base Converter
Convert a hexadecimal number into any output base from 2 (binary) to 36.
Open toolHex to ASCII Converter
Decode space-separated or contiguous hex bytes back into 7-bit ASCII text.
Open toolHex to BCD Converter
Convert a hexadecimal value into Binary-Coded Decimal (BCD), one 4-bit nibble per decimal digit.
Open toolHex to Binary Converter
Convert a hexadecimal value into binary, preserving each digit's exact 4-bit pattern.
Open toolHex to Decimal Converter
Convert a hexadecimal value into its exact decimal number, with no precision loss.
Open toolHex to DoubleHex Converter
Duplicate every digit of a hex string to produce this site's own invented DoubleHex format.
Open toolHex to FakeHex Converter
Substitute each hex digit for a letter using this site's own fixed FakeHex cipher table.
Open toolHex to Floating Point Number Converter
Decode a raw IEEE-754 hex bit pattern (8 or 16 hex digits) back into its decimal float value.
Open toolHex to Gray Code Converter
Convert a hexadecimal value into its binary reflected Gray code representation.
Open toolHex to HalfHex Converter
Halve every hex digit's numeric value to produce this site's own invented, lossy HalfHex format.
Open toolHex to Image Converter
Turn a hex byte dump of an image file into a live preview and downloadable file.
Open toolHex to Integer Converter
Interpret a hex bit pattern as a fixed-width signed or unsigned integer.
Open toolHex to IP Address Converter
Turn 8 raw hex digits into a readable dotted-quad IPv4 address like 192.168.1.1.
Open toolHex to IPv6 Converter
Turn 32 raw hex digits into a colon-separated IPv6 address, plus its RFC 5952 compressed form.
Open toolHex to Number Converter
Convert a plain hexadecimal string of any length into its decimal magnitude.
Open toolHex to Octal Converter
Convert a hexadecimal value into its octal (base-8) representation.
Open toolHex to Roman Numeral Converter
Convert a hexadecimal value (1-3999 in decimal) into its standard Roman numeral.
Open toolHex to Unary Converter
Convert a hexadecimal number into unary notation, a repeated symbol shown that many times.
Open toolHex to UTF-8 Converter
Decode hex bytes as UTF-8 text, correctly handling multi-byte characters and invalid sequences.
Open toolHex Value Decrementer
Subtract a decimal amount from every hex value in a list, clamping at zero instead of wrapping.
Open toolHex Value Incrementer
Add a decimal amount to every hex value in a list, using exact BigInt arithmetic.
Open toolHex Value Padder
Left-pad every hex value in a list with zeros to a fixed digit width.
Open toolHex Value Shifter
Cyclically rotate the order of a list of hex values by N positions.
Open toolHex Value Sorter
Sort a list of hex values by their true numeric value, ascending or descending.
Open toolHex Value Truncator
Truncate every hex value in a list to at most N digits, keeping the leftmost digits.
Open toolHex Values to File Converter
Turn a list of hex values, each of any width, into a downloadable binary file.
Open toolHex XNOR Calculator
Compute the bitwise XNOR of two hexadecimal values, digit by digit.
Open toolHex XOR Calculator
Compute the bitwise XOR of two hexadecimal values, digit by digit.
Open toolHex ZigZag Generator
Generate a decorative ASCII-art zigzag of consecutive hex values, indentation tracing a wave.
Open toolHexaflexagon Generator
Render a simplified illustrative triangle-strip net for a hexaflexagon, labeled with hex digits.
Open toolHexdump Generator
Show a classic hexdump -C / xxd-style dump of any text or uploaded file, read-only.
Open toolHexfloat to Float Converter
Parse C99/printf %a hexfloat notation like 0x1.8p3 into its decimal value.
Open toolHexspeak to Text Converter
Best-effort inverse of text-to-hexspeak-converter, using the same table's most likely reverse mapping.
Open toolHSL to Hex Color Converter
Convert HSL (hue, saturation, lightness) values into a #RRGGBB hex color.
Open toolHSV to Hex Color Converter
Convert HSV (hue, saturation, value/brightness) values into a #RRGGBB hex color.
Open toolInteger to Hex Converter
Encode a decimal integer as the exact fixed-width hex bit pattern it would have in memory.
Open toolIP Address to Hex Converter
Convert a dotted-quad IPv4 address like 192.168.1.1 into its raw 8-digit hex value.
Open toolIPv6 to Hex Converter
Expand a full or compressed IPv6 address into its raw 32-hex-digit representation.
Open toolLAB to Hex Color Converter
Convert CIE L*a*b* (D65) values into a #RRGGBB hex color via the full inverse Lab->XYZ->sRGB pipeline.
Open toolLittle Endian Hex to Big Endian Hex Converter
Convert a little-endian hex value into its big-endian byte order.
Open toolNumber to Hex Converter
Convert a decimal integer of any size into its hexadecimal representation.
Open toolOctal to Hex Converter
Convert an octal (base-8) value into its uppercase hexadecimal representation.
Open toolPolyhex Shapes Generator
Procedurally generate one example connected polyhex (N edge-connected hexagons) as ASCII art.
Open toolRGB to Hex Color Converter
Convert separate red, green, blue (0-255) values into a plain #RRGGBB hex color.
Open toolRGBA to Hex Color Converter
Convert separate red, green, blue (0-255) and alpha (0-1) values into a #RRGGBBAA hex color.
Open toolRoman Numeral to Hex Converter
Convert a standard Roman numeral like XXXI into its hexadecimal value.
Open toolText to Hexspeak Converter
Turn arbitrary text into a hexspeak-style string using valid hex characters and lookalike substitutions.
Open toolUnary to Hex Converter
Count a string of unary symbols (1s or tally marks) and convert the count to hexadecimal.
Open toolUTF-8 to Hex Converter
Encode any Unicode text as its real UTF-8 byte sequence, formatted as hex.
Open tool