Reklāmas uztur šos rīkus bezmaksas
Mēs visi ienīstam reklāmas. No otras puses, esam pārliecinājušies, ka tās šeit būtu pēc iespējas neuzbāzīgākas, un darbs, lai šos rīkus saliktu kopā un uzturētu, ir kaut kā jāapmaksā — tāpēc nevaram ļaut izmantot rīku, kamēr reklāmu blokētājs ir ieslēgts.
Atļauj usefulutils.org savā blokētājā un ielādē vēlreiz: uBlock Origin vai AdGuard — noklikšķini uz rīkjoslas ikonas un lielās barošanas pogas; Brave — noklikšķini uz lauvas (Vairogiem) un iestati uz Zemu. Pārlūkiem, kuri pēc politikas bloķē katru pieprasījumu (daži privātie vai uzņēmumu režīmi), arī vajag atļauto sarakstu.
Joprošām bloķēts. Pievieno usefulutils.org atļauto sarakstam un ielādē lapu vēlreiz.
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.
Biežāk uzdotie jautājumi
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.
Pārvērtēji
- 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