🔢 Number Base Converter — Free Online

Convert numbers between decimal, hexadecimal, octal and binary with auto-detect and prefixes. Free online base converter with BigInt precision, local.

Your files stay on your device. This tool processes PDFs locally in your browser whenever the tool supports it — no uploads, no account. Privacy policy

One number becomes all four bases at once — with 0x/0o/0b prefixes, negatives, and BigInt precision beyond 2⁵³.

How to use number base converter

  1. Enter a number (prefix optional).
  2. Pick a base or auto-detect.
  3. Copy any base output.

Features

  • Dec/hex/oct/bin together
  • Auto-detect with prefixes
  • BigInt precision
  • Live conversion, local

Privacy

This tool runs entirely in your browser. Your files and text stay on your device — nothing is uploaded, and nothing is sent to analytics. Privacy policy

How this tool is tested

This page is the real tool, not a screenshot: it runs locally in your browser and is verified in current Chrome, Edge, Firefox, and Safari before each release. Your input stays on your device for supported tasks.

By Mccowns.com team · Reviewed

Frequently asked questions

How do I convert hex to decimal?

Type 0xFF above (or pick Hexadecimal) — decimal, octal, and binary appear instantly.

Large numbers?

BigInt math keeps full precision past Number.MAX_SAFE_INTEGER.

Ambiguous inputs?

Pure 0/1 strings without a prefix read as decimal by default — pick Binary explicitly or add 0b.

Related developer tools