Cette page n’est pas encore traduite en français : elle s’affiche en anglais.

Hex to Decimal Converter

Type a hex number like FF or 0x1A3F to get its decimal value — plus binary and octal — and convert decimal back to hex in the same view.

Mis à jour le
Options

Prefixes like 0x, 0b, 0o, spaces and underscores are ignored. Arbitrarily large integers are supported.

Two’s complement bit view
255
Signed value
255
Unsigned value
0x000000FF
Hex (fixed width)

Click a bit to flip it. The highlighted bit is the sign bit.

Text ↔ hex ↔ binary (UTF-8)

Vos données ne quittent jamais votre ordinateur. Tout le traitement se fait localement dans votre navigateur.

Comment utiliser : Hex to Decimal Converter

  1. Type the hex value — with or without 0x — in the hexadecimal field.
  2. Read the decimal, binary and octal values, updated as you type.
  3. Type in the decimal field to convert the other way.

How hex to decimal works

Hexadecimal is base 16: the digits 0–9 and the letters A–F (10–15). Each position is worth 16 times the one to its right. 1A3F = 1×4096 + 10×256 + 3×16 + 15×1 = 6,719. Two hex digits make exactly one byte, which is why hex is used for colors (#FF8800), memory addresses and byte dumps.

Large numbers and negative values

The converter uses arbitrary-precision integers, so 64-bit and larger values convert exactly — no rounding as in a regular calculator. For signed values, the two’s-complement view shows how a value like FFFFFFFF reads as −1 in a 32-bit signed integer.

Quick reference

0xFF = 255 · 0x100 = 256 · 0xFFFF = 65,535 · 0x7FFFFFFF = 2,147,483,647 (largest signed 32-bit integer).

Aussi recherché comme : hex to decimal, hexadecimal to decimal, convert hex to decimal, hex to dec, decimal to hex, hex converter, hex calculator.

Outils complémentaires : Hex to Decimal Converter

  • Number Base Converter — Type a number in any base and see it in all the others instantly.
  • HEX to RGBA Converter — Paste a HEX code, drag the opacity slider and copy the exact CSS you need — legacy rgba(), modern rgb( / alpha) or 8-digit HEX.
  • Binary to Text Converter — Paste binary code — groups of eight 0s and 1s, or one long string — and read it as text.
  • Convertisseur de texte en binaire — Saisissez du texte pour le visualiser sous forme de code binaire, ou collez du code binaire (ou hexadécimal, octal, décimal) pour le reconvertir en texte lisible.

Questions fréquentes

What is FF in decimal?
255 — F is 15, so FF = 15×16 + 15.
How do I convert decimal to hex?
Type the number in the decimal field. Manually, divide by 16 repeatedly and write the remainders from last to first.
What does the 0x prefix mean?
It marks a hexadecimal number in code (C, JavaScript, Python). The converter accepts values with or without it.
Puis-je installer Hex to Decimal Converter en tant qu’application web et l’utiliser hors ligne ?
Oui. Hex to Decimal Converter est une application web installable (PWA) : elle s’installe depuis votre navigateur, sans passer par une boutique d’applications. Cliquez sur « Installer l’application » en haut de cette page dans Chrome ou Edge (Windows, macOS, Linux, ChromeOS) ; sur Android, utilisez « Partager » → « Ajouter à l’écran d’accueil » sur iPhone et iPad ; ou « Fichier » → « Ajouter au Dock » dans Safari 17+ sur Mac. L’application s’ouvre alors dans sa propre fenêtre avec sa propre icône, et comme elle s’exécute entièrement dans votre navigateur, elle continue de fonctionner hors ligne. Firefox sur ordinateur de bureau ne permet pas d’installer d’applications web. Comment fonctionne l’installation.

Outils similaires