Home › Programmer & Developer Tools › Number Base Converter

Number Base Converter

Convert numbers between binary, octal, decimal, and hexadecimal in real time, and run bitwise operations (AND, OR, XOR, NOT, and shifts). Arbitrary-precision via BigInt, so even very large integers convert exactly — entirely in your browser.

How to use Number Base Converter

  1. Type a number into any base field — the others update instantly.
  2. Use 0b, 0o, or 0x prefixes if you like; a leading minus is allowed.
  3. Open the bitwise calculator to AND/OR/XOR/shift two values and copy the result.

Frequently asked questions

How large a number can it handle?
It uses JavaScript BigInt, so there is no fixed bit-width limit — conversions stay exact for arbitrarily large integers.
Does it support negative numbers?
Yes. Prefix the value with a minus sign in any base; the bitwise panel also works on negative operands using BigInt semantics.

More Programmer & Developer Tools

  • JSON Validator — Validate, parse, and prettify JSON — load it from a URL or curl command, or convert a Python dict (single quotes, True/False/None) to JSON. Identifies syntax errors with precise line number reporting.
  • Code Beautifier — Automatically format your JavaScript, CSS, and HTML with customizable indentation and style rules.
  • Minifier — Reduce bundle sizes by removing whitespace, comments, and optimizing code structure for production.
  • SQL Formatter & Beautifier — Pretty-print and indent SQL queries across dialects (PostgreSQL, MySQL, T-SQL, BigQuery, and more) with configurable keyword casing.
  • XML Formatter — Beautify and validate XML with configurable indentation, or minify it to the smallest valid output — entirely in your browser.
  • JSON Diff — Compare two JSON objects (or Python dicts) structurally to spot added, removed, and changed keys — or switch to line and word mode for plain text and code.
  • RegEx Tester — Build and test regular expressions in real-time with syntax highlighting and match group visualization.
  • Base64 Converter — Quickly encode and decode strings or files to Base64 format for safe data transmission.