Skip to content
tooljig
PricingSecurity
tooljig

Exact tools. Nothing leaves your device. Small, exact tools for everyday work. Most run entirely in your browser.

Instruments

  • Text tools
  • Developer tools
  • Calculators
  • Date & time
  • Converters
  • Generators

Files

  • PDF
  • Image
  • Video & Audio
  • Data
  • Web

Tooljig

  • Pricing
  • Security
  • Dashboard
  • About
  • Contact
  • Privacy
  • Terms
© 2026 TooljigFiles processed in the cloud are deleted automatically
Index / Converters / T-35

T-35 · Converters

Number Base Converter

Convert integers between binary, octal, decimal, hexadecimal and any base from 2 to 36. Exact for very large numbers, with 0x, 0b and 0o prefixes.

  • Runs in your browser
  • Nothing uploaded
  • No account
Instrument T-35 · Number Base ConverterLocal

0x, 0b and 0o prefixes, spaces and underscores are allowed.

Binary (2)11111111
Octal (8)377
Decimal (10)255
Hexadecimal (16)ff
Base 3673

8 bits · exact for any size

About this instrument

What it does

Enter a whole number, pick the base it is written in, and see it in binary, octal, decimal and hexadecimal at once, plus any other base from 2 to 36. Arithmetic uses BigInt, so even numbers with hundreds of digits convert exactly, without the rounding you get from ordinary floating-point numbers.

How to use it

  1. Type the number and choose the base it is written in.
  2. Read binary, octal, decimal and hex side by side.
  3. Pick an extra base (up to 36) if you need one, and copy any row.

Limits and notes

Good to know

  • Integers only: fractions such as 0.5 or 1.1 in binary are not supported. A leading minus sign is kept.
  • A 0x, 0b or 0o prefix is stripped only when it matches the input base, because in hexadecimal “0b1” is a valid number. Spaces and underscores are ignored as digit separators.
  • Bases above 10 use the letters a–z as digits (a = 10, z = 35), case-insensitively.

FAQ

Common questions.

01What is 255 in binary and hex?+

255 is 11111111 in binary, ff in hexadecimal and 377 in octal: the largest value that fits in one byte.

02Why do other converters give wrong answers for big numbers?+

Many use JavaScript numbers, which are only exact up to 2^53. This tool uses BigInt arithmetic, which is exact at any size.

03Does it show two's complement for negative numbers?+

No. Negative values are shown with a minus sign, for example -ff, not as a fixed-width two's complement bit pattern.

Related instruments

  • T-36Text to BinaryConvert text to binary, hex or decimal UTF-8 bytes and decode them back to text. Accented letters and emoji are handled correctly. Runs in your browser.Local↗
  • T-34Roman Numeral ConverterConvert numbers to Roman numerals and back, from 1 to 3999, with a step-by-step breakdown. Strict validation catches invalid forms like IIII or VX.Local↗
  • T-25Color ConverterConvert colors between HEX, RGB and HSL with a live preview and a native color picker. Copy CSS-ready values.Local↗