I inbrowser.sh

Number Base Converter — Bin · Oct · Dec · Hex

Convert between binary, octal, decimal and hexadecimal — instantly.

100% client-side No upload Free · no signup

Quick answer

Number Base runs locally in your browser for quick developer formatting, conversion or inspection work. Number Base Converter translates a value between binary (2), octal (8), decimal (10) and hexadecimal (16) — the four bases you meet every day.

What is Number Base?

Number Base Converter translates a value between binary (2), octal (8), decimal (10) and hexadecimal (16) — the four bases you meet every day.

How to use

  1. Type a value into any of the four fields.
  2. The other three update in sync.
  3. Copy whichever you need.

Example

Use this sample to confirm what Number Base does before pasting your own data.

Input
255 (decimal)
Output
Binary 11111111 | Octal 377 | Hex ff

Uses BigInt — arbitrary-precision integers supported.

When to use it

Use Number Base for quick local checks, debugging, documentation prep, and one-off conversions where opening a full IDE or command-line workflow would be slower. For production-critical data, always review the output before committing or shipping it.

Frequently asked questions

How large can the value be?

It uses BigInt, so arbitrary-precision integers are supported.

Are negative numbers supported?

Yes — a leading minus sign is preserved.