Les publicités gardent ces outils gratuits
Nous détestons tous les publicités. En revanche, nous avons veillé à ce qu'elles soient ici les moins intrusives possible, et le travail nécessaire pour construire ces outils et les faire tourner doit être payé d'une façon ou d'une autre — nous ne pouvons donc pas vous laisser utiliser l'outil tant qu'un bloqueur de publicités est actif.
Autorisez usefulutils.org dans votre bloqueur puis rechargez : uBlock Origin ou AdGuard — cliquez sur l'icône de la barre d'outils et sur le gros bouton d'alimentation ; Brave — cliquez sur le lion (Boucliers) et mettez-le au niveau Bas. Les navigateurs qui, par politique, bloquent toutes les demandes (certains modes privés ou d'entreprise) exigent eux aussi une liste blanche.
Toujours bloqué. Ajoutez usefulutils.org à la liste blanche et rechargez la page.
Number Base Converter
Type a number in any base from 2 to 36 and see it as decimal, binary, octal and hexadecimal — plus one custom base — all at once. Digits are validated as you type and the math is exact, even for huge numbers.
What a number base is
A base (or radix) tells you how many digits each column can hold. Decimal (base 10) uses 0–9; binary (base 2) uses only 0 and 1; hexadecimal (base 16) uses 0–9 then A–F for ten to fifteen. A value is read by weighting each digit by a power of the base, so hex 1F is 1×16 + 15 = 31 in decimal. Bases up to 36 reuse the letters A–Z, letting you encode numbers in a single alphanumeric string.
Why 2, 8, 10 and 16 dominate
Computers store everything as binary, so base 2 is the native tongue. Base 8 (octal) and base 16 (hexadecimal) are compact shorthand for it: each hex digit packs exactly four bits, which is why memory addresses, color codes and byte dumps are written in hex. This converter uses exact integer arithmetic — not JavaScript's 53-bit floats — so a 64-bit value like 0xFFFFFFFFFFFFFFFF converts losslessly, and leading 0x, 0b and 0o prefixes and a leading minus sign are understood automatically.
Questions fréquentes
How do I convert between number bases?
Pick the base your number is written in, type it in the box, and the converter shows the same value in decimal, binary, octal and hexadecimal instantly. Set the target base to read it in any base from 2 to 36.
Which bases are supported?
Every base from 2 to 36. The usual ones are ready in the picker — 2 (binary), 8 (octal), 10 (decimal) and 16 (hexadecimal) — and any base up to 36 uses the letters A–Z for its extra digits.
How large a number can I convert?
There is no practical limit. The converter uses arbitrary-precision integers, so values far beyond JavaScript's 2⁵³ safe-integer ceiling — full 64-bit hex numbers, for example — convert exactly, with no rounding.
Does this converter work offline?
Yes. Once the page has loaded, every conversion runs in your browser — no server round-trips, no tracking, and the number you type never leaves your device.
Convertisseurs
- Unit Converter — Length, mass, temperature & more
- Roman Numeral Converter — Numbers ↔ Roman numerals
- Unix Timestamp Converter — Unix time ↔ date & time
- Text Encoding Converter — Base64, URL & HTML encoding
- What Is My IP — Your IP, location & ISP on a map