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 tool

ASCII to Hex Converter

Convert plain ASCII text to space-separated uppercase hex bytes, one pair per character.

Open tool

BCD to Hex Converter

Decode a Binary-Coded Decimal (BCD) binary string back into its hexadecimal value.

Open tool

Big Endian Hex to Little Endian Hex Converter

Convert a big-endian hex value into its little-endian byte order.

Open tool

Binary to Hex Converter

Convert a binary value into its uppercase hexadecimal representation.

Open tool

Characters to Hex HTML Entities Converter

Encode every character of your text as a real, standard hexadecimal HTML/XML character reference.

Open tool

CMYK to Hex Color Converter

Convert CMYK percentages (cyan, magenta, yellow, key/black) into a #RRGGBB hex color.

Open tool

Custom Hex Generator

Generate a random hex value with a custom length, case, prefix, and digit grouping.

Open tool

Decimal to Hex Converter

Convert a decimal integer into its hexadecimal representation, of any size.

Open tool

DoubleHex to Hex Converter

Take every 2nd digit of a DoubleHex string to recover the original hex string.

Open tool

FakeHex to Hex Converter

Reverse this site's FakeHex letter cipher back to the original hex string, exactly.

Open tool

Float to Hexfloat Converter

Convert a decimal float into C99/printf %a hexfloat notation, exactly, with no rounding.

Open tool

Floating Point Number to Hex Converter

Encode a decimal float as its raw IEEE-754 bit pattern in hex (32-bit or 64-bit).

Open tool

Gray Code to Hex Converter

Decode a binary Gray code string back into its original hexadecimal value.

Open tool

HalfHex to Hex Converter

Double each HalfHex digit's value back toward hex, a best-effort (not exact) inverse.

Open tool

Hex Addition Calculator

Add two hexadecimal numbers together and get the exact hex sum.

Open tool

Hex Addition Table Generator

Generate an NxN addition table with row/column headers and cell values all in hexadecimal.

Open tool

Hex AND Calculator

Compute the bitwise AND of two hexadecimal values, digit by digit.

Open tool

Hex Bytes to File Converter

Convert one continuous hex string, strictly two digits per byte, into a downloadable binary file.

Open tool

Hex Color Inverter

Invert a #RRGGBB hex color channel-by-channel (255 - value), with a before/after swatch comparison.

Open tool

Hex Color to CMYK Converter

Convert a #RRGGBB hex color into CMYK (cyan, magenta, yellow, key/black) percentages.

Open tool

Hex Color to HSL Converter

Convert a #RRGGBB hex color into HSL (hue, saturation, lightness) values.

Open tool

Hex Color to HSV Converter

Convert a #RRGGBB hex color into HSV (hue, saturation, value/brightness) values.

Open tool

Hex Color to LAB Converter

Convert a #RRGGBB hex color into CIE L*a*b* (D65) values via the full sRGB->XYZ->Lab pipeline.

Open tool

Hex Color to RGB Converter

Convert a 6-digit #RRGGBB hex color into an rgb(r, g, b) CSS value, no alpha channel.

Open tool

Hex Color to RGBA Converter

Convert a #RRGGBB or #RRGGBBAA hex color into an rgba(r, g, b, a) CSS color value.

Open tool

Hex Digit Colorizer

Render every individual digit of any hex string in a distinct cycling rainbow color for readability.

Open tool

Hex Digit Decrementer

Decrement every individual digit in a hex list by N, wrapping around modulo 16.

Open tool

Hex Digit Duplicator

Repeat every digit of a hex value a set number of times in place.

Open tool

Hex Digit Extractor

Pull out a single hex digit from a value by its 0-based position, counted from the left.

Open tool

Hex Digit Incrementer

Increment every individual digit in a hex list by N, wrapping around modulo 16.

Open tool

Hex Digit Remover

Remove every occurrence of a chosen digit character from a whole list of hex values.

Open tool

Hex Digit Replacer

Find and replace one hex digit character with another across a whole list of hex values.

Open tool

Hex Digit Sorter

Sort each hex value's own digits, ascending or descending, independently per value.

Open tool

Hex Division Calculator

Divide one hexadecimal number by another and get the exact hex quotient and remainder.

Open tool

Hex Division Table Generator

Generate an NxN division table showing hex quotient and remainder for every row/column pair.

Open tool

Hex Editor

Upload a file or paste text and edit its raw bytes directly in a classic three-column hex editor.

Open tool

Hex Endianness Swapper

Reverse the byte order of a hex string, swapping between little-endian and big-endian layout.

Open tool

Hex Grid Generator

Generate a full rows x columns ASCII hex grid, each cell labeled with its sequential hex index.

Open tool

Hex HTML Entities to Characters Converter

Decode hexadecimal HTML/XML character references (&#xHHHH;) back to their original characters.

Open tool

Hex Multiplication Calculator

Multiply two hexadecimal numbers together and get the exact hex product.

Open tool

Hex Multiplication Table Generator

Generate an NxN multiplication table with row/column headers and cell values all in hexadecimal.

Open tool

Hex NAND Calculator

Compute the bitwise NAND of two hexadecimal values, digit by digit.

Open tool

Hex Nibble Reverser

Reverse the order of a hex value's individual digits, distinct from byte-level endianness swaps.

Open tool

Hex Nibble Rotator

Deterministically rotate the individual hex digits of a value by a chosen number of positions.

Open tool

Hex Nibble Shuffler

Randomly shuffle the individual hex digits of a value using cryptographically secure randomness.

Open tool

Hex NOR Calculator

Compute the bitwise NOR of two hexadecimal values, digit by digit.

Open tool

Hex NOT Calculator

Apply the NOT logic gate to a hexadecimal value, flipping every bit within its own width.

Open tool

Hex Number Analyzer

Analyze a hex value's decimal equivalent, bit length, digit frequency, palindrome status, and popcount.

Open tool

Hex Number Colorizer

Render each whole hex number in a whitespace/comma separated list in a distinct cycling color.

Open tool

Hex Number Inverter

Flip every bit of a hexadecimal number, a quick way to compute its bitwise complement.

Open tool

Hex Number Joiner

Combine a list of hex numbers, one per line or space-separated, into a single hex string.

Open tool

Hex Number Rounder

Round every hex value in a list to the nearest multiple of a hex rounding unit.

Open tool

Hex Number Speller

Spell out a hex number digit by digit in English, using standard hex digit names for A-F.

Open tool

Hex Number Splitter

Split one hex string into fixed-size chunks, one chunk per output line.

Open tool

Hex OR Calculator

Compute the bitwise OR of two hexadecimal values, digit by digit.

Open tool

Hex Sequence Generator

Generate a run of consecutive hex values from a start value, with custom separator and padding.

Open tool

Hex Spiral Generator

Arrange consecutive hex values into a square ASCII grid, filled in clockwise spiral order.

Open tool

Hex Subtraction Calculator

Subtract one hexadecimal number from another and get the exact hex difference, including negative results.

Open tool

Hex to Arbitrary Base Converter

Convert a hexadecimal number into any output base from 2 (binary) to 36.

Open tool

Hex to ASCII Converter

Decode space-separated or contiguous hex bytes back into 7-bit ASCII text.

Open tool

Hex to BCD Converter

Convert a hexadecimal value into Binary-Coded Decimal (BCD), one 4-bit nibble per decimal digit.

Open tool

Hex to Binary Converter

Convert a hexadecimal value into binary, preserving each digit's exact 4-bit pattern.

Open tool

Hex to Decimal Converter

Convert a hexadecimal value into its exact decimal number, with no precision loss.

Open tool

Hex to DoubleHex Converter

Duplicate every digit of a hex string to produce this site's own invented DoubleHex format.

Open tool

Hex to FakeHex Converter

Substitute each hex digit for a letter using this site's own fixed FakeHex cipher table.

Open tool

Hex 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 tool

Hex to Gray Code Converter

Convert a hexadecimal value into its binary reflected Gray code representation.

Open tool

Hex to HalfHex Converter

Halve every hex digit's numeric value to produce this site's own invented, lossy HalfHex format.

Open tool

Hex to Image Converter

Turn a hex byte dump of an image file into a live preview and downloadable file.

Open tool

Hex to Integer Converter

Interpret a hex bit pattern as a fixed-width signed or unsigned integer.

Open tool

Hex to IP Address Converter

Turn 8 raw hex digits into a readable dotted-quad IPv4 address like 192.168.1.1.

Open tool

Hex to IPv6 Converter

Turn 32 raw hex digits into a colon-separated IPv6 address, plus its RFC 5952 compressed form.

Open tool

Hex to Number Converter

Convert a plain hexadecimal string of any length into its decimal magnitude.

Open tool

Hex to Octal Converter

Convert a hexadecimal value into its octal (base-8) representation.

Open tool

Hex to Roman Numeral Converter

Convert a hexadecimal value (1-3999 in decimal) into its standard Roman numeral.

Open tool

Hex to Unary Converter

Convert a hexadecimal number into unary notation, a repeated symbol shown that many times.

Open tool

Hex to UTF-8 Converter

Decode hex bytes as UTF-8 text, correctly handling multi-byte characters and invalid sequences.

Open tool

Hex Value Decrementer

Subtract a decimal amount from every hex value in a list, clamping at zero instead of wrapping.

Open tool

Hex Value Incrementer

Add a decimal amount to every hex value in a list, using exact BigInt arithmetic.

Open tool

Hex Value Padder

Left-pad every hex value in a list with zeros to a fixed digit width.

Open tool

Hex Value Shifter

Cyclically rotate the order of a list of hex values by N positions.

Open tool

Hex Value Sorter

Sort a list of hex values by their true numeric value, ascending or descending.

Open tool

Hex Value Truncator

Truncate every hex value in a list to at most N digits, keeping the leftmost digits.

Open tool

Hex Values to File Converter

Turn a list of hex values, each of any width, into a downloadable binary file.

Open tool

Hex XNOR Calculator

Compute the bitwise XNOR of two hexadecimal values, digit by digit.

Open tool

Hex XOR Calculator

Compute the bitwise XOR of two hexadecimal values, digit by digit.

Open tool

Hex ZigZag Generator

Generate a decorative ASCII-art zigzag of consecutive hex values, indentation tracing a wave.

Open tool

Hexaflexagon Generator

Render a simplified illustrative triangle-strip net for a hexaflexagon, labeled with hex digits.

Open tool

Hexdump Generator

Show a classic hexdump -C / xxd-style dump of any text or uploaded file, read-only.

Open tool

Hexfloat to Float Converter

Parse C99/printf %a hexfloat notation like 0x1.8p3 into its decimal value.

Open tool

Hexspeak to Text Converter

Best-effort inverse of text-to-hexspeak-converter, using the same table's most likely reverse mapping.

Open tool

HSL to Hex Color Converter

Convert HSL (hue, saturation, lightness) values into a #RRGGBB hex color.

Open tool

HSV to Hex Color Converter

Convert HSV (hue, saturation, value/brightness) values into a #RRGGBB hex color.

Open tool

Integer to Hex Converter

Encode a decimal integer as the exact fixed-width hex bit pattern it would have in memory.

Open tool

IP Address to Hex Converter

Convert a dotted-quad IPv4 address like 192.168.1.1 into its raw 8-digit hex value.

Open tool

IPv6 to Hex Converter

Expand a full or compressed IPv6 address into its raw 32-hex-digit representation.

Open tool

LAB 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 tool

Little Endian Hex to Big Endian Hex Converter

Convert a little-endian hex value into its big-endian byte order.

Open tool

Number to Hex Converter

Convert a decimal integer of any size into its hexadecimal representation.

Open tool

Octal to Hex Converter

Convert an octal (base-8) value into its uppercase hexadecimal representation.

Open tool

Polyhex Shapes Generator

Procedurally generate one example connected polyhex (N edge-connected hexagons) as ASCII art.

Open tool

RGB to Hex Color Converter

Convert separate red, green, blue (0-255) values into a plain #RRGGBB hex color.

Open tool

RGBA to Hex Color Converter

Convert separate red, green, blue (0-255) and alpha (0-1) values into a #RRGGBBAA hex color.

Open tool

Roman Numeral to Hex Converter

Convert a standard Roman numeral like XXXI into its hexadecimal value.

Open tool

Text to Hexspeak Converter

Turn arbitrary text into a hexspeak-style string using valid hex characters and lookalike substitutions.

Open tool

Unary to Hex Converter

Count a string of unary symbols (1s or tally marks) and convert the count to hexadecimal.

Open tool

UTF-8 to Hex Converter

Encode any Unicode text as its real UTF-8 byte sequence, formatted as hex.

Open tool