Searchlight
Tools
BlogAbout
Free SEO Audit
Back to home
๐Ÿ“ˆSEO & Analytics
๐Ÿ—‚๏ธText & Data
๐Ÿ”Encoders & Decoders
Base64 TextBase64 FileURL EncoderHTML EntitiesNumber Base ConverterJWT DecoderMorse CodeROT13 / Caesar CipherHash GeneratorHMAC GeneratorHex โ†” Base64
โšกGenerators
๐Ÿ”„Converters
๐Ÿ–ผ๏ธImage Tools
๐Ÿ“„PDF Tools
๐Ÿ’ปCode Tools
๐Ÿ”Regex & Parsing
๐ŸงฎCalculators
๐Ÿ—บ๏ธDiagrams
๐ŸŒNetwork & Web
โœ๏ธText Utilities
๐ŸŽจColor Tools
๐Ÿ”€Diff & Compare
148+ tools. OAuth is read-only.
Searchlight

148+ free SEO, developer, image, PDF, and productivity tools - no account needed.

Free ยท all tools included
Company
  • Blog
  • About
  • Free SEO Audit
Legal
  • Privacy Policy
  • Terms of Service
  • Cookie Policy

ยฉ 2026 Searchlight. All rights reserved.

Read-only OAuth ยท No data reselling ยท Completely free

Number Base Converter

Convert between binary, octal, decimal, and hexadecimal. Type in any field to update all.

Binary
base 2
0b
Octal
base 8
0o
Decimal
base 10
Hexadecimal
base 16
0x

About this tool

Convert numbers between decimal (base 10), binary (base 2), hexadecimal (base 16), and octal (base 8) - all simultaneously as you type. Also supports arbitrary base conversions from base 2 to base 36. Essential for computer science students, embedded developers, and anyone working with bitwise operations, memory addresses, or colour codes.

How to Convert Between Number Bases

  1. 1Enter a number in any of the input fields (Decimal, Binary, Hex, or Octal).
  2. 2All other fields update instantly with the equivalent values.
  3. 3Click any field to copy its value.
  4. 4For custom bases, use the 'Custom base' field and enter a base between 2 and 36.

Frequently Asked Questions

How do I convert decimal to binary?+
Enter the decimal number and the binary equivalent appears instantly. For example, 42 decimal = 101010 binary.
How do I convert a hex colour code to RGB?+
A hex colour like #FF6A1A is three two-digit hex values: R:255, G:106, B:26. Use the Colour Converter tool for a dedicated colour conversion experience.
What is the prefix for binary, octal, and hex?+
In programming: binary is prefixed 0b (0b1010), octal is prefixed 0o (0o12), and hexadecimal is prefixed 0x (0x2A). This tool accepts values with or without prefixes.
What is the maximum number supported?+
The tool uses JavaScript's BigInt for large numbers, supporting values accurately up to 2^53 - 1 in standard mode, with BigInt mode for larger values.
Looking for a deeper guide on this topic? Browse the Searchlight blog.
Visit the blog โ†’

Related tools

View all Encoders & Decoders โ†’
Base64 TextEncode & decode Base64 textBase64 FileEncode images, PDFs & files to Base64URL EncoderURL encode / decode / percent-escapeHTML EntitiesHTML entity encode & decode