SimplyScan logoSimplyScan
What We ScanPricingFree ToolsBlogCreate AccountLog In
  1. Home
  2. Free Tools
  3. Number Base Converter
Free Tool · Runs in your browser

Free Number Base Converter (Binary, Hex, Octal, Decimal)

Type a number in any base · binary, octal, decimal, or hex · and see it converted to all the others instantly.

100% client-side · nothing you enter is ever sent to a server or stored.

Preview · sign in with a free account to run it

—
—
—
—

Conversion uses BigInt · arbitrarily large values (256-bit hashes, keys) convert without precision loss. Spaces and underscores in the input are ignored.

How to use it

  1. Type a number. Prefixes 0b, 0o and 0x are detected, or choose the input base.
  2. Read it in binary, octal, decimal and hexadecimal at once.
  3. Copy any value. Very large integers are exact.

Example

Input

255

Result

Binary       0b11111111
Octal        0o377
Decimal      255
Hexadecimal  0xff

Where you meet each base

Hexadecimal
Colours (#ff8800), byte values, hashes, memory addresses. Two hex digits are one byte.
Octal
Unix file permissions: chmod 755 is three octal digits.
Binary
Bit flags and masks. Each digit is one on/off bit.
Big numbers
Values beyond JavaScript's safe integer limit (2^53 − 1) are converted exactly with BigInt.

Go deeper

  • Which Free Web Developer Tools Fit Your Workflow in 2026?

Page updated 21 November 2026

Frequently asked questions

Why do developers use hexadecimal?

One hex digit is exactly four bits, so bytes read as clean two-character pairs · FF is 11111111. That's why memory addresses, color codes, hashes, and MAC addresses are written in hex.

How large a number can this handle?

Arbitrarily large · conversion uses BigInt rather than floating-point numbers, so 256-bit values (like hashes and keys) convert without precision loss.

Does it handle negative numbers?

Yes. A leading minus sign is kept in every base, for example -42 is -0x2a. It isn't converted to two's complement.

Want the full picture?

This tool covers one narrow check. A full SimplyScan runs 60 checks across 14 categories · exposed keys, RLS, XSS, auth, and speed · in 30 seconds.

Run a full security scan

Related tools

cURL to fetch

Paste a curl command · from API docs or your terminal · and get clean JavaScript fetch code with headers and body intact.

Markdown to HTML

Write or paste Markdown and get clean HTML plus a live preview · headings, lists, links, code blocks, and tables included.

XML Formatter

Paste XML · a sitemap, RSS feed, SVG, or API response · and pretty-print, minify, or validate it instantly.

SimplyScan logoSimplyScan

Security Scanner for Vibe-Coded Apps.

Product

See What We ScanHow It WorksView Pricing

Resources

Security BlogSecurity ChecklistTrust BadgeUptime MonitoringIntegrationsMCP Server (Claude, Cursor & Windsurf)API DocumentationBackend Audit GuideThreat Detection GuideFAQTerms of ServicePrivacy Policy

Platforms

All platforms →Lovable ScannerBolt.new ScannerCursor ScannerReplit Scannerv0.dev ScannerWindsurf ScannerBubble Scanner

Free Tools

All free tools →SSL CheckerSecurity HeadersDNS Security CheckerCORS TesterJWT DebuggerCSP EvaluatorHash GeneratorSEO Checker

Account

Create AccountLog In

© 2026 SimplyScan. All rights reserved.