Hex-Konverter

Dieser Hex-Konverter kann Hexadezimalwerte in Dezimal-, Binär- und Textwerte umwandeln sowie Hexadezimal- und Dezimalwerte addieren, subtrahieren, multiplizieren und dividieren.

1

Wählen Sie das Eingabeformat

2
0x

Geben Sie eine beliebige Hexadezimalzahl ein – beliebige Länge, ungerade Ziffern sind in Ordnung.

Erweiterte Optionen +
Datentyp
Bitbreite
Unterzeichnet
3

Konvertierte Ergebnisse

Hexadezimal Basis 16
Dezimal Basis 10
Binär Basis 2
Text ASCII
Bytes0
Bits0

Ein Hex-Konverter ist ein Werkzeug, das Werte zwischen Hexadezimal-, Dezimal-, Binär- und anderen Zahlensystemen umwandelt. Es funktioniert, indem es jede Hexadezimalzahl als Potenz von 16 liest und diesen Wert dann in das gewünschte Zielformat umwandelt. Das Tool bietet vier Hauptvorteile: sofortige Konvertierung ohne manuelle Berechnung, fehlerfreie Verarbeitung großer Werte, Unterstützung mehrerer Formate an einem Ort und eine klare Darstellung der Zuordnung von Bytes zu für Menschen lesbaren Zahlen. Menschen verwenden einen Hex-Konverter, um Speicheradressen zu lesen, Farbcodes zu dekodieren, Blockchain-Daten zu überprüfen, Netzwerkpakete zu debuggen und Rohbytes in Text zu übersetzen. Die Hauptbestandteile eines Hex-Konverters sind das Eingabefeld für den Quellwert, das Ausgabefeld für das konvertierte Ergebnis, eine Formatauswahl zur Auswahl zwischen Hex, Dezimal, Binär, Oktal oder Text sowie eine Kopierschaltfläche zum Abrufen des Ergebnisses.

What Is a Hex Converter?

A hex converter is a tool that changes a hexadecimal value into another number format, or changes another format into hex. You type a value into the input field, the tool reads each digit, and it returns the equivalent value in decimal, binary, octal, text, or another target format.

The tool removes the need for manual calculation. Converting 1D8A from hex to decimal by hand means multiplying four digits by powers of 16 and adding the results. A hex converter does this in the time it takes to press a key.

Probieren Sie es live aus

HEX

DEC

BIN

What Is Hexadezimal?

Hexadezimal is a base-16 number system. It uses 16 symbols: the digits 0 through 9 and the letters A through F. The letters stand in for the values 10 through 15, since decimal only has 10 single-digit symbols to work with.

Computer speichern Daten in Bits, und 8 Bits bilden ein Byte. Das Schreiben eines Bytes im Binärformat erfordert 8 Zeichen. Das Schreiben desselben Bytes in Hex erfordert 2 Zeichen, da jede Hex-Ziffer genau 4 Bits (ein Halbbyte) abdeckt. Aus diesem Grund taucht Hex überall dort auf, wo Programmierer Binärdaten lesen müssen, ohne auf lange Zeichenfolgen aus Einsen und Nullen zu starren: Speicheradressen, Farbcodes, Hash-Werte und Dateikopfzeilen.

A hex value is often written with a 0x prefix, such as 0xFF, to separate it from a decimal number that happens to use the same digits.

🔄 Zahl in jeder Basis

HEX

What Can You Convert With a Hex Converter?

A hex converter handles 6 common conversion types: hex to decimal, decimal to hex, hex to binary, binary to hex, hex to octal, and hex to text (ASCII or UTF-8). Many tools also support hex to RGB for web colors, hex to Base64 for encoded data, and hex to IP address for network values.

Each conversion type serves a different task. Hex to decimal helps you read a raw value in familiar terms. Hex to binary shows the exact bit pattern a processor works with. Hex to text decodes byte sequences back into readable characters. Hex to RGB turns a 6-character color code into red, green, and blue channel values for design work.

🔀 Konvertierungspfade

Hex → Dez
Dez → Hex
Hex → Bin
Bin → Hex
Hex → Text
Hex → Okt

Hexadezimal Number System

The hexadecimal number system uses a radix, or base, of 16. Each position in a hex number represents a power of 16, starting at 16⁰ on the right and increasing by one power for each position moved left.

A hex digit can hold 16 possible values (0-9, A-F), compared to 10 values in decimal and 2 values in binary. This gives hex more information density per character. A single hex digit encodes 4 bits, so 2 hex digits encode a full byte (8 bits), and 4 hex digits encode 2 bytes (16 bits).

📐 Stellenwert-Explorer

2

× 16² (256)

= 512

How to Use the Hex Converter

Type a hex value into the input field, then read the converted result in the output field. The converter accepts values with or without the 0x prefix, in uppercase or lowercase, and it typically ignores spaces or colons placed between byte pairs.

To convert decimal to hex, enter a whole number into the decimal field and the tool returns the hex equivalent. Switch the direction using the swap or format selector if the tool supports both directions in one interface. Copy the result with the copy button rather than selecting and retyping it, since manual retyping introduces errors on long hash values.

📋 Wie es funktioniert

🎯

Schritt 1

Wählen Sie Format

Hex Conversion Formulas

Jede Konvertierung zwischen Hexadezimalformat und einem anderen Format folgt einer festen Formel. Die folgenden 6 Formeln decken die Umrechnungen ab, nach denen die Leute am häufigsten suchen.

Hexadezimal to Dezimal Formula

The hexadecimal to decimal formula is decimal = Σ (digit × 16ⁿ), summed across every digit, where n is the digit’s position counted from right to left starting at 0. Hex 1A3 converts to decimal 419: (1 × 16²) + (10 × 16¹) + (3 × 16⁰) = 256 + 160 + 3 = 419.

Dezimal to Hexadezimal Formula

The decimal to hexadecimal formula divides the decimal number by 16 repeatedly, recording each remainder as a hex digit, until the quotient reaches 0. Dezimal 419 converts to hex 1A3: 419 ÷ 16 = 26 remainder 3, 26 ÷ 16 = 1 remainder 10 (A), 1 ÷ 16 = 0 remainder 1. Reading the remainders in reverse gives 1A3.

Hexadezimal to Binär Formula

The hexadecimal to binary formula replaces each hex digit with its 4-bit binary equivalent, then joins the groups in order: binary = concat(digit → 4-bit binary), applied digit by digit. Hex 2AA converts to binary 0010 1010 1010, since 2 is 0010 and A is 1010 in each remaining position.

Binär to Hexadezimal Formula

The binary to hexadecimal formula groups binary digits into sets of 4 starting from the right, padding the leftmost group with zeros when it has fewer than 4 digits, then converts each group to its hex digit: hex = concat(4-bit group → digit). Binär 1010101010 converts to hex 2AA.

Hexadezimal to Octal Formula

The hexadecimal to octal formula runs through binary as a middle step: convert each hex digit to 4-bit binary, regroup the full binary string into sets of 3 from the right, then convert each 3-digit group to its octal digit. Hex FF converts to octal 377, since FF is binary 11111111, grouped as 011 111 111.

Hexadezimal to Text Formula

The hexadecimal to text formula splits the hex string into 2-character byte pairs, converts each pair to its decimal value using the hex-to-decimal formula, then maps each decimal value to its character using the ASCII or UTF-8 table: text = map(decimal(byte) → character). Hex 48656C6C6F converts to the text “Hello.”

📐 Formel-Schnellreferenz

Hex → Dezimal
Σ (digit × 16n)
Dezimal → Hex
n ÷ 16 → remainders ↑
Hex → Binär
each digit → 4-bit group
Hex → Oktal
hex → binary → group by 3

Hex Conversion Examples

Hex A3 converts to decimal 163, since A (10) × 16¹ + 3 × 16⁰ = 160 + 3 = 163. Hex FF converts to decimal 255, since F (15) × 16¹ + F (15) × 16⁰ = 240 + 15 = 255. Hex 1D8A converts to decimal 7562, following the same digit-by-digit multiplication across 4 positions.

Dezimal 1500 wird in Hex 5DC umgewandelt. Dezimal 255 wird in Hex FF umgewandelt. Dezimal 4132 wird in Hex 1024 umgewandelt.

Hex 48656C6C6F converts to the text “Hello,” since each 2-character hex pair maps to one ASCII byte: 48 is H, 65 is e, 6C is l, 6C is l, and 6F is o.

🧮 Schritt-für-Schritt-Rechner

Wählen Sie ein Beispiel aus, um die Schritt-für-Schritt-Mathematik anzuzeigen.

Hexadezimal Conversion Methods

There are 2 core methods for converting between hex and decimal: digit expansion for hex-to-decimal, and repeated division for decimal-to-hex.

Digit expansion multiplies each hex digit by its positional power of 16, then sums the results. Repeated division divides the decimal number by 16 over and over, recording the remainder at each step, then reads the remainders in reverse order to build the hex value.

🔬 Methodenvisualisierer

(Digit × 16^pos) + (Digit × 16^pos)…

Example: 1A = (1 × 16¹) + (10 × 16⁰) = 16 + 10 = 26

Hexadezimal vs Dezimal, Binär, and Octal

Hexadezimal, decimal, binary, and octal differ in base and in how many digits each needs to represent the same value. Binär (base 2) uses 8 digits to represent one byte. Octal (base 8) uses 3 digits. Dezimal (base 10) uses 1 to 3 digits. Hex (base 16) uses exactly 2 digits.

Binär is the format processors operate on directly. Octal was common in early computing and now survives mainly in Unix file permission codes. Dezimal is the system people use for everyday arithmetic. Hex balances compactness with a direct mapping to binary, which is why it dominates in memory addressing, color codes, and cryptographic output.

🎚️ Vergleichen Sie Zahlenbasen

Value: 170

What is the Dezimal System?

The decimal system is a base-10 number system that uses 10 digits: 0 through 9. Each digit’s position represents a power of 10, starting at 10⁰ on the right.

The decimal system is the standard for daily arithmetic because humans count on 10 fingers. Computers don’t use decimal internally, so any decimal value entered into a system gets converted to binary or hex before processing.

🔟 Dezimal vs Hex Density

Dezimal (Base 10)
255
3 digits → 10 symbols each
Hexadezimal (Base 16)
FF
2 digits → 16 symbols each

Hexadezimal System (Hex System)

The hexadecimal system uses 16 symbols: 0-9 and A-F. Each digit represents a power of 16. The letters A through F stand for the decimal values 10 through 15.

Hex is used across computing because it aligns with byte boundaries. A single byte, made of 8 bits, converts cleanly to exactly 2 hex digits with no remainder or rounding. This clean mapping does not exist between bytes and decimal digits, which is why raw computer data is shown in hex rather than decimal.

🔠 The 16 Hex Symbols

0-9

Values 0-9

Dezimalsystem

Dezimal is a base-10 positional number system. Each digit’s value depends on both the digit itself and its position in the number. The digit 5 in the number 500 represents 5 × 10², or 500. The same digit 5 in the number 50 represents 5 × 10¹, or 50.

Dezimal handles fractional values using a decimal point, where digits after the point represent negative powers of 10 (tenths, hundredths, and so on).

🔢 Dezimalpositionswerte

5
× 10²
500

How to Calculate Hexadezimal to Dezimal

Multiply each hex digit by 16 raised to its position, counting positions from right to left starting at 0, then add the results together. The hex value 2AA converts to decimal 682: (2 × 16²) + (10 × 16¹) + (10 × 16⁰) = 512 + 160 + 10 = 682.

For long hex strings like cryptographic hashes, this calculation still works digit by digit, but the resulting decimal number grows large fast. A 64-character hex hash can produce a decimal number with 77 digits.

⚙️ Live-Ziffernerweiterung

Geben Sie oben einen Hexadezimalwert ein, um ihn erweitert anzuzeigen.

Convert Hexadezimal Value to Dezimal Value

Converting a hex value to decimal follows 3 steps: assign each digit its power of 16 based on position, multiply each digit by its power, and sum every result.

Example: hex 7DE converts to decimal 2014. (7 × 16²) + (13 × 16¹) + (14 × 16⁰) = 1792 + 208 + 14 = 2014.

📝 Beispiel: Hex 7DE zu Dezimal

7 × 16²= 7 × 256= 1792
D (13) × 16¹= 13 × 16= 208
E (14) × 16⁰= 14 × 1= 14
Gesamtsumme= 2014

Convert Dezimal Value to Hexadezimal Value

Converting a decimal value to hex follows 4 steps: divide the decimal number by 16, record the remainder as a hex digit, use the quotient as the next number to divide, and repeat until the quotient reaches 0.

Example: decimal 7562 converts to hex 1D8A. 7562 ÷ 16 = 472 remainder 10 (A). 472 ÷ 16 = 29 remainder 8 (8). 29 ÷ 16 = 1 remainder 13 (D). 1 ÷ 16 = 0 remainder 1 (1). Reading the remainders from last to first gives 1D8A.

Beispiel: Dezimal 7562 bis Hex

7562 ÷ 16Quotient:472Rest:10 (A)
472 ÷ 16Quotient:29Rest:8
29 ÷ 16Quotient:1Rest:13 (D)
1 ÷ 16Quotient:0Rest:1
Nach oben lesen ⬆️: 1D8A

Hex to Binär and Binär to Hex

Hex to binary conversion replaces each hex digit with its 4-bit binary equivalent, then joins the groups in order. Hex 2AA converts to binary 0010 1010 1010, since 2 is 0010, and A is 1010 in each of the remaining 2 positions.

Binär to hex conversion groups binary digits into sets of 4 starting from the right, padding the leftmost group with zeros when it has fewer than 4 digits, then converts each group to its hex digit. Binär 1010101010 converts to hex 2AA, using the same grouped values in reverse.

🧩 Nibble-Mapper: Hex 2AA

2
Hexadezimalzahl
A
Hexadezimalzahl
A
Hexadezimalzahl
↓ jeweils 4 Bit ↓
0010
1010
1010

Ergebnis:0010 1010 1010

Hex to Octal

Hex to octal conversion runs through binary as a middle step: convert the hex value to binary, regroup the binary digits into sets of 3 from the right, then convert each 3-digit group to its octal digit. Hex FF converts to octal 377: FF is binary 11111111, grouped as 011 111 111, which reads as 3, 7, 7.

🔄 Hex FF → Oktal über Binär

FF
↓ auf 8-Bit-Binärdatei erweitern
1 1 1 1 1 1 1 1
↓ in 3-Bit-Blöcke neu gruppieren
011
→ 3
111
→ 7
111
→ 7

Octal Ergebnis:377

Hex to Integer

Hex to integer conversion reads a hex value as either an unsigned or a signed integer, depending on the data type width. An unsigned 8-bit hex value ranges from 00 to FF, or 0 to 255 in decimal. A signed 8-bit hex value uses two’s complement, so 00 to 7F represents 0 to 127, while 80 to FF represents -128 to -1. Hex FF as an unsigned 8-bit integer equals 255, but as a signed 8-bit integer it equals -1.

The same signed and unsigned rules extend to 16-bit, 32-bit, and 64-bit integers, across more hex digits: 4 hex digits for 16-bit, 8 hex digits for 32-bit, and 16 hex digits for 64-bit.

± Signiert vs. unsigniert: 0xFF

Vorzeichenloses 8-Bit255
0255
Vorzeichenbehaftetes 8-Bit (Zweierkomplement)−1
−128127
Signiertes 16-Bit255
−3276832767
Gleiche Teile, unterschiedliche Interpretation.

Hexadezimal Calculation—Add, Subtract, Multiply, or Divide

Hex arithmetic follows the same rules as decimal arithmetic, with 2 adjustments: digits above 9 use letters A through F, and carrying or borrowing moves in units of 16 rather than 10.

Hex Addition

Add hex digits the same way you add decimal digits, converting letters to their decimal values when needed, then carry any amount of 16 or more into the next column. Example: B (11) + 8 = 19 in decimal, which equals 13 in hex. Write down 3, carry 1 into the next column.

Hex Subtraction

Subtract hex digits column by column, borrowing 16 from the next column when the top digit is smaller than the bottom digit. Example: in 5D1C − 3AF, the rightmost column needs C (12) − F (15), which is negative, so the column borrows 16 from the next digit: 16 + 12 − 15 = 13, or D.

Hex Multiplication

Multiply hex digits using their decimal equivalents, convert each partial product back to hex, then add the partial products together following normal hex addition. A hexadecimal multiplication table removes the need to convert on every step.

Hex Division

Divide hex numbers using long division, performing each multiplication and subtraction step in hex rather than decimal. Borrowing during subtraction still moves in units of 16.

Hexadezimal Multiplication Table

×123456789ABCDEF
1123456789ABCDEF
22468ACE10121416181A1C1E
3369CF1215181B1E2124272A2D
448C1014181C2024282C3034383C
55AF14191E23282D32373C41464B
66C12181E242A30363C42484E545A
77E151C232A31383F464D545B6269
881018202830384048505860687078
99121B242D363F48515A636C757E87
AA141E28323C46505A646E78828C96
BB16212C37424D58636E79848F9AA5
CC1824303C4854606C7884909CA8B4
DD1A2734414E5B6875828F9CA9B6C3
EE1C2A38465462707E8C9AA8B6C4D2
FF1E2D3C4B5A69788796A5B4C3D2E1

🔢 Hex-Arithmetik

(163)
(28)
=
BF

(191)

Common Hexadezimal Values

HexDezimalBinärASCII
00000000000NUL
0A1000001010LF (newline)
203200100000Space
3048001100000
416501000001A
619701100001a
7F12701111111DEL
FF25511111111Extended byte

These 8 values appear often because they mark boundaries: 00 is the null byte, 20 is the space character that separates words in ASCII, 41 starts the uppercase alphabet, 61 starts the lowercase alphabet, and FF marks the highest single-byte value.

🗺️ ASCII Map Explorer

00
09
0A
0D
20
30
39
41
46
5A
61
66
7A
7F

Hex to Text, ASCII, and UTF-8

Hex to text conversion splits the hex string into 2-character byte pairs, converts each pair to its decimal value, then reads those bytes as characters. Hex 48656C6C6F decodes to “Hello,” since 48 is H, 65 is e, 6C is l, 6C is l, and 6F is o.

Hex to ASCII follows the same byte-pair method, but ASCII only covers byte values 0 through 127, or 00 to 7F in hex. Hex to UTF-8 extends this for byte values above 7F, where the converter reads 2, 3, or 4 hex bytes together to decode a single character.

🗺️ ASCII Map Explorer

00
09
0A
0D
20
30
39
41
46
5A
61
66
7A
7F

Text to Hex

Text to hex conversion converts each character to its byte value using its character encoding, then writes each byte value as a 2-character hex pair. Text “Hi” converts to hex 4869, since H equals decimal 72 (hex 48) and i equals decimal 105 (hex 69).

✏️ Text → Hex: “Hi”

H
ASCII 72
i
ASCII 105
↓ decimal → hex ↓
48
69

Ergebnis:4869

Hex to Base64

Hex to Base64 conversion regroups the raw bytes a hex string represents into sets of 3 bytes (24 bits), splits each 24-bit group into four 6-bit segments, then maps each 6-bit segment to one of 64 Base64 characters (A-Z, a-z, 0-9, +, /). Hex 48656C6C6F, which is 5 bytes, converts to Base64 SGVsbG8=, with padding added when the byte count doesn’t divide evenly by 3.

🔗 Hex → Base64 Pipeline

48 65 6C 6C 6F
↓ hex pairs → raw bytes
72101108108111
↓ group into 3-byte (24-bit) chunks → split into 6-bit segments
010010000110010101
↓ map to Base64 alphabet
SGVsbG8=

Hex Color Conversions

A hex color code is a 6-character hex value that represents a color using 2 digits each for red, green, and blue. The code FF5733 represents a red-orange color: FF (255) red, 57 (87) green, and 33 (51) blue.

Hex to RGB

Hex to RGB conversion splits a 6-character hex color into 3 pairs, then converts each pair to its decimal value. Hex FF5733 converts to RGB(255, 87, 51), following the red, green, blue pair order.

Hex to HSL

Hex to HSL conversion extracts the RGB values first, then calculates hue, saturation, and lightness from the relative brightness and range of the RGB channels. Hue is measured in degrees from 0 to 360, while saturation and lightness are both measured as percentages from 0 to 100.

Hex to HSV

Hex to HSV conversion also starts from the extracted RGB values, then calculates hue, saturation, and value (brightness). HSV differs from HSL in how it defines brightness: HSV’s value channel tracks the highest of the 3 RGB channels directly, while HSL’s lightness averages the highest and lowest channels.

Hex to CMYK

Hex to CMYK conversion extracts RGB first, then converts the RGB values into cyan, magenta, yellow, and key (black) percentages for print use. CMYK values are subtractive, meaning they describe how much ink absorbs light, while RGB and hex values are additive, describing how much light a screen emits.

Hex zu Pantone

Bei der Hex-zu-Pantone-Konvertierung wird eine Hex-Farbe mit dem nächstgelegenen Eintrag in der Pantone Matching System (PMS)-Bibliothek abgeglichen, da Pantone benannte Tintenformulierungen anstelle einer mathematischen RGB- oder CMYK-Formel verwendet. Bei der Übereinstimmung handelt es sich um einen Näherungswert: Zwei unterschiedliche Hexadezimalwerte können demselben Pantone-Farbfeld zugeordnet werden, und die Druckausgabe kann je nach Papiermaterial und Druckverfahren von der Hexadezimalvorschau auf dem Bildschirm abweichen.

🎨 Color Decomposer: #FF5733

FF
Red: 255
57
Green: 87
33
Blue: 51
HSL11°, 100%, 60%
HSV11°, 80%, 100%
CMYK0%, 66%, 80%, 0%

Hex in Blockchain

Blockchain systems store nearly all raw data in hex format. Transaction identifiers, block hashes, addresses, and smart contract data all use hex because it maps directly to the underlying bytes without losing structure.

Transaction IDs

A Bitcoin transaction ID (txid) is a 64-character hex string. It represents the double SHA-256 hash of the serialized transaction, compressed from 32 raw bytes into hex form for readability.

Block Hashes

A block hash is also a 64-character hex string, produced by hashing the 80-byte block header twice with SHA-256. Bitcoin’s proof-of-work difficulty target requires the hash to fall below a threshold, which in hex terms means the hash must start with a set number of leading zeros.

Addresses and Public Keys

A Bitcoin public key is 33 bytes in compressed form or 65 bytes uncompressed, shown in hex before conversion to Base58Check or Bech32 format. An Ethereum address is a 40-character hex string (20 bytes) with a 0x prefix.

Opcodes and Script

Bitcoin Script uses single-byte opcodes referenced by their hex values. A standard Pay-to-Public-Key-Hash script reads 76 A9 14 [hash] 88 AC in hex, where 76 is OP_DUP, A9 is OP_HASH160, 88 is OP_EQUALVERIFY, and AC is OP_CHECKSIG.

Smart Contract Data

Ethereum smart contract calls encode as hex data in a transaction’s input field. The first 4 bytes form a function selector, derived from the Keccak-256 hash of the function signature. An ERC-20 transfer() call starts with the selector 0xA9059CBB.

⛓️ Transaction Anatomy

01000000

01

7b1eabe0209b1fe794124575ef807057c77ada2138ae4fa8d6c4de0398a14f3f

00000000

494830450221008949…

ffffffff

Hover over fields to decode the raw hex transaction bytes.

Hex in Programmierung und Daten

Hexadezimal shows up across 6 common programming and data tasks beyond basic number conversion: floating-point encoding, byte order handling, bitwise operations, machine code inspection, raw file analysis, and identifier generation.

Hex to IEEE 754

Hex to IEEE 754 conversion reads a hex value as a floating-point number using the IEEE 754 standard, which splits the bits into a sign bit, an exponent, and a mantissa. A 32-bit (single-precision) float uses 1 sign bit, 8 exponent bits, and 23 mantissa bits. The hex value 3F800000 converts to the floating-point value 1.0 under this standard.

Hex-Endian-Konverter

A hex endian converter reverses the byte order of a hex value between big-endian and little-endian formats. Big-endian stores the most significant byte first; little-endian stores the least significant byte first. The 4-byte hex value 12345678 in big-endian becomes 78563412 in little-endian, since the byte sequence reverses while each byte’s own 2 digits keep their order.

Hex XOR Calculator

Ein Hex-XOR-Rechner wendet die bitweise XOR-Operation auf zwei Hex-Werte an, vergleicht sie Bit für Bit und gibt 1 zurück, wenn die Bits unterschiedlich sind, und 0, wenn sie übereinstimmen. Hex FF XOR 0F entspricht F0, da jede Bitposition, an der die beiden Werte nicht übereinstimmen, eine 1 ergibt.

Sechskant zur Montage

Die Hex-zu-Assembly-Konvertierung, auch Disassemblierung genannt, übersetzt rohe Maschinencode-Bytes zurück in lesbare Assembly-Anweisungen für eine bestimmte Prozessorarchitektur. Jeder Hex-Opcode ist einer Befehlsmnemonik zugeordnet, beispielsweise MOV, ADD oder JMP. Die genaue Zuordnung hängt jedoch vom Befehlssatz ab: x86, ARM oder eine andere Architektur.

Hex-Dump-Konverter

Ein Hex-Dump-Konverter nimmt eine Binärdatei und zeigt deren Rohbytes im Hex-Format an, normalerweise zusammen mit einer ASCII-Spalte, die das druckbare Zeichen für jedes Byte anzeigt. Mit Hex-Dumps können Entwickler Dateiheader überprüfen, Dateisignaturen überprüfen und Binärdaten debuggen, ohne für jeden Dateityp einen speziellen Parser zu benötigen.

Hex zu UUID

Bei der Hex-zu-UUID-Konvertierung wird ein Hexadezimalwert mit 32 Zeichen (16 Byte) in das Standard-UUID-Muster umgewandelt: 8-4-4-4-12 durch Bindestriche getrennte Hexadezimalziffern, z. B. 550E8400-E29B-41D4-A716-446655440000. Eine UUID ist ein 128-Bit-Wert, der zur Identifizierung von Datensätzen oder Objekten verwendet wird, bei denen die Wahrscheinlichkeit einer Kollision zwischen Systemen nahezu Null ist.

🖥️ Programming Data Formats

📊
IEEE 754
3F800000 → 1.0 (32-bit float)
🔀
Endian Swap
12345678 ⇄ 78563412
XOR Operation
FF ⊕ 0F → F0
⚙️
Assembly: 90 → NOP
Opcodes map to instructions
🔑
UUID Format
32 hex → 8-4-4-4-12

Konvertierungsreferenz

HexDezimalBinärASCII
00000000000NUL
0A1000001010LF
3048001100000
416501000001A
619701100001a
7F12701111111DEL
FF25511111111

📚 ASCII Control Chars

HexDezimalBinärASCII
00000000000NUL
0A1000001010LF
3048001100000
416501000001A
619701100001a
7F12701111111DEL
FF25511111111

Gemeinsame Hex-Werte in Krypto

Hex ValueNameContext
0x76OP_DUPDuplicates the top stack item
0xA9OP_HASH160Applies SHA-256 then RIPEMD-160
0xACOP_CHECKSIGVerifies a signature
0x6AOP_RETURNMarks an output as unspendable
0x88OP_EQUALVERIFYChecks equality and verifies
0xAEOP_CHECKMULTISIGVerifies a multisig condition
0xA9059CBBtransfer(address,uint256)ERC-20 function selector
0x095EA7B3approve(address,uint256)ERC-20 function selector
0x70A08231balanceOf(address)ERC-20 function selector

🪙 Web3 & Bitcoin Ops

Hex ValueNameContext
0x76OP_DUPDuplicates the top stack item
0xA9OP_HASH160Applies SHA-256 then RIPEMD-160
0xACOP_CHECKSIGVerifies a signature
0x6AOP_RETURNMarks an output as unspendable
0x88OP_EQUALVERIFYChecks equality and verifies
0xAEOP_CHECKMULTISIGVerifies a multisig condition
0xA9059CBBtransfer(address,uint256)ERC-20 function selector
0x095EA7B3approve(address,uint256)ERC-20 function selector
0x70A08231balanceOf(address)ERC-20 function selector

Hex vs. andere Zahlensysteme

PropertyBinär (Base-2)Octal (Base-8)Dezimal (Base-10)Hex (Base-16)
Digits used0, 10-70-90-9, A-F
Bits per digit13~3.324
One byte requires8 digits3 digits1-3 digits2 digits
Common prefix0b0oNone0x
255 expressed as11111111377255FF
Primary useLogic gates, bit flagsUnix permissionsEveryday arithmeticMemory, crypto, colors

📊 Base Comparison

HEX

2 chars

FF

Entdecken Sie unsere Spezialwerkzeuge

Frequently Asked Questions

Was ist hexadezimal?

Hexadezimal ist ein Zahlensystem zur Basis 16, das 16 Symbole verwendet: die Ziffern 0 bis 9 und die Buchstaben A bis F. Jede Hexadezimalziffer stellt 4 Binärziffern dar, sodass 2 Hexadezimalziffern immer 1 Byte entsprechen. Computer verwenden Hex, um Rohdaten in einer Form anzuzeigen, die kurz und lesbar bleibt.

Was ist ein Hex-Konverter?

Ein Hex-Konverter ist ein Werkzeug, das einen Wert zwischen Hexadezimalzahl und einem anderen Zahlenformat umwandelt, beispielsweise Dezimalzahl, Binärzahl, Oktalzahl oder Text. Sie geben einen Wert in ein Feld ein und das Tool gibt im selben Schritt den entsprechenden Wert im Zielformat zurück.

Wie konvertiere ich Hexadezimalzahlen in Dezimalzahlen?

Multiply each hex digit by 16 raised to its position, then add the results together. The hex value 1A3 converts to decimal 419: (1 × 256) + (10 × 16) + (3 × 1) = 256 + 160 + 3 = 419.

TRY IT →

Wie konvertiere ich eine Dezimalzahl in eine Hexadezimalzahl?

Divide the decimal number by 16, record the remainder as a hex digit, then repeat the division on the quotient until the quotient reaches 0. Reading the remainders in reverse order gives the hex value. Dezimal 1500 converts to hex 5DC using this method: 1500 ÷ 16 = 93 remainder 12 (C), 93 ÷ 16 = 5 remainder 13 (D), 5 ÷ 16 = 0 remainder 5. Reading the remainders backward gives 5DC.

TRY IT →

Wie konvertiere ich hexadezimal in binär?

Ersetzen Sie jede Hexadezimalzahl durch ihr 4-Bit-Binäräquivalent und fügen Sie dann die Gruppen der Reihe nach zusammen. Der Hexadezimalwert 2AA wird in den Binärwert 0010 1010 1010 umgewandelt, da 2 0010 ist und A an den beiden verbleibenden Positionen jeweils 1010 ist.

TRY IT →

How do I convert binary to hex?

Gruppieren Sie die Binärziffern in 4er-Gruppen, beginnend von rechts, füllen Sie die Gruppe ganz links mit Nullen auf, wenn sie weniger als 4 Ziffern hat, und konvertieren Sie dann jede Gruppe in ihre Hexadezimalziffer. Der Binärwert 1010101010 wird in Hex 2AA konvertiert: gruppiert als 0010 1010 1010, was als 2, A, A lautet.

Wie konvertiere ich Hex in Oktal?

Convert the hex value to binary first, then regroup the binary digits into sets of 3 from the right, then convert each group of 3 to its octal digit. The hex value FF converts to octal 377: FF is binary 11111111, grouped as 011 111 111, which reads as 3, 7, 7.

Wie konvertiere ich Hex in Text?

Teilen Sie die Hex-Zeichenfolge in Bytepaare mit zwei Zeichen auf, konvertieren Sie jedes Paar in seinen Dezimalwert und lesen Sie diese Bytes dann als Zeichen mit ASCII oder UTF-8. Die Hex-Zeichenfolge 48 65 6C 6C 6F dekodiert zu „Hallo“, da 48 H, 65 e, 6C l, 6C l und 6F o ist.

TRY IT →

Wie konvertiere ich Hex in ASCII?

Konvertieren Sie Hexadezimalwerte in ASCII auf die gleiche Weise wie Hexadezimalwerte in Text: Teilen Sie die Hexadezimalzeichenfolge in Bytepaare auf, wandeln Sie jedes Paar in Dezimalzahlen um und gleichen Sie dann diesen Dezimalwert mit der ASCII-Tabelle ab. ASCII deckt nur die Bytewerte 0 bis 127 (00 bis 7F in Hex) ab, daher fällt jedes Byte über 7F nicht in den Standard-ASCII-Bereich und erfordert stattdessen eine UTF-8-Dekodierung.

Wie konvertiere ich Hex in UTF-8?

For byte values 00 through 7F, hex to UTF-8 conversion works exactly like hex to ASCII, with 1 byte per character. For byte values above 7F, UTF-8 uses multi-byte sequences, so the converter reads 2, 3, or 4 hex bytes together to decode a single character correctly.

Wie konvertiere ich Text in Hex?

Konvertieren Sie jedes Zeichen mithilfe seiner Zeichenkodierung in seinen Bytewert und schreiben Sie dann jeden Bytewert als 2-stelliges Hexadezimalpaar. Der Text „Hi“ wird in Hex 48 69 konvertiert, da H der Dezimalzahl 72 (Hex 48) und i der Dezimalzahl 105 (Hex 69) entspricht.

TRY IT →

Was ist der Unterschied zwischen Hex und Binär?

Binär verwendet 2 Symbole (0 und 1), während Hex 16 Symbole (0-9 und A-F) verwendet. Eine hexadezimale Ziffer entspricht immer 4 Binärziffern, sodass hexadezimal dieselben Daten mit einem Viertel der Zeichen darstellt. Das Byte 0xFF im Hexadezimalformat ist 11111111 im Binärformat.

Was bedeutet das Präfix 0x?

The 0x prefix marks a value as hexadecimal rather than decimal. Without it, “10” is ambiguous between ten (decimal) and sixteen (hex). The prefix started in the C programming language and now appears across most programming languages and blockchain protocols. Ethereum addresses always carry the 0x prefix; Bitcoin usually does not.

Can hexadecimal numbers contain letters?

Yes, hexadecimal numbers contain 6 letters: A, B, C, D, E, and F. These letters represent the decimal values 10 through 15, filling the gap left by decimal’s 10 single-digit symbols (0-9) in a 16-symbol system.

Is hexadecimal case-sensitive?

No, hexadecimal letters are not case-sensitive for their numeric value. FF and ff both equal decimal 255, and most converters accept either case or a mix of both. One exception exists in Ethereum, where address checksums encode extra information in the letter casing, so changing the case of an Ethereum address can invalidate its checksum even though the underlying value stays the same.

How many bytes are in a hexadecimal value?

A hexadecimal value contains 1 byte for every 2 hex digits, since each hex digit represents 4 bits and a byte holds 8 bits. A 2-character value like FF is 1 byte, a 4-character value like 1A3F is 2 bytes, and a 64-character value, common for cryptographic hashes, is 32 bytes.

Can hex values contain spaces?

No, raw hex encoding does not include spaces as part of the data itself. Spaces or colons are sometimes added between byte pairs for readability, such as 48 65 6C 6C 6F or 48:65:6C:6C:6F. Most hex conversion tools strip these separators automatically before processing the value.

How large can a hex number be?

There is no fixed limit on the size of a hex number. Blockchain applications commonly use 32-byte (256-bit) values for hashes and 20-byte (160-bit) values for addresses. A 32-byte hex string runs 64 characters long and can represent numbers up to roughly 1.16 × 10⁷⁷ in decimal, which requires arbitrary-precision arithmetic to convert without rounding errors.

What is hexadecimal used for in blockchain?

Hexadezimal represents nearly all raw blockchain data, including transaction IDs, block hashes, public keys, addresses, Script opcodes, and smart contract calldata. Hex maps directly to binary data, with 2 hex characters equal to 1 byte, which keeps low-level protocol data compact and readable at the same time.

Why do blockchain explorers show data in hex?

Blockchain explorers show data in hex because hex preserves the exact byte structure without interpretation. Opcodes, version bytes, address prefixes, and hash outputs stay visible and verifiable in hex. Dezimal would obscure the byte-level structure, and binary would take up too much space to read.

How can I troubleshoot an incorrect hex conversion?

Check 5 common sources of error when a hex conversion looks wrong: leading or trailing whitespace in the input, an unremoved 0x prefix, byte order (endianness) mismatched between big-endian and little-endian reads, signed versus unsigned interpretation of the same bits, and a dropped leading zero that shifts every digit’s position. Comparing the value against a known conversion table entry, such as FF equaling 255, isolates which of these 5 causes applies.