RevealTheme logo

Binär-zu-Hexadezimal-Konverter

Wandeln Sie Binärzahlen in Hexadezimal um. Hexadezimal ist für denselben Wert viermal kompakter als Binär.

So verwenden Sie dieses Tool

  1. 1

    Type or paste your binary digits into the input box. Whitespace between groups is fine and gets stripped automatically.

  2. 2

    Read the uppercase hexadecimal result in the box below, which updates instantly as you type.

  3. 3

    Copy the hex value out for use in your code, config, or documentation.

Was ist der Binär-zu-Hexadezimal-Konverter?

Binär verwendet die Basis 2 (Ziffern 0 und 1); Hexadezimal verwendet die Basis 16 (Ziffern 0-9 und A-F). Jede Hexadezimalziffer entspricht genau 4 Binärziffern, weshalb Hexadezimal eine weitaus kompaktere Schreibweise für große Binärzahlen ist. Diese Umwandlung ist grundlegend für die Programmierung, das Untersuchen von Speicherabbildern und das Lesen von Maschinencode.

Häufige Anwendungsfälle

  • Shorten a long binary literal from a datasheet or register map into compact hex for your firmware code.

  • Translate a binary permission or flag mask into the hex form your config file or API expects.

  • Check a binary value by hand against the hex shown in a debugger or memory viewer.

  • Convert binary output from a logic exercise or homework problem into hex to verify your answer.

  • Turn a binary representation of an RGB channel into the hex pair used in CSS color codes.

  • Prepare hex constants for embedded registers when your reference material only lists the bit pattern in binary.

Häufig gestellte Fragen

Warum wird Hexadezimal gegenüber Binär bevorzugt?▼
Hexadezimal ist für denselben Wert viermal kürzer, für Menschen leichter zu lesen und lässt sich dennoch sauber auf Binär abbilden.

Verwandte Tools