Base Converter

Bit Separation
Precision
Binary BINBase 2
Octal OCTBase 8
Decimal DECBase 10
Hexadecimal HEXBase 16

About Base Converter

Free Online Base Converter

This tool supports conversion between binary, octal, decimal, and hexadecimal, including both integer and fractional parts. All four bases are displayed simultaneously — enter a value in any base to see results in the other three in real time. All data is processed locally in your browser — nothing is uploaded to any server, fully protecting your privacy.


Features

  • Supports binary, octal, decimal, and hexadecimal conversion
  • Supports both integer and fractional conversion
  • All four bases displayed simultaneously with real-time sync
  • Large number support beyond safe integer range
  • Binary bit separation for easy reading
  • One-click copy of conversion results
  • Pure frontend offline processing, protects user privacy

How to Use

  1. 1Click on any base card's input field
  2. 2Enter a value, other bases update in real time
  3. 3Use the bit separation toggle to format binary display
  4. 4Adjust precision to control fractional digit count
  5. 5Click the copy button to copy conversion results

FAQ

Which bases are supported?
Binary, octal, decimal, and hexadecimal conversion.
Can decimals be converted?
Yes, based on decimal.js, supports fractional conversion in any base, up to 20 digits.
Does hex case matter?
No, ABCDEF and abcdef are equivalent, output case can be toggled.
How are negative numbers represented?
Prefix with minus (-), e.g. decimal -10 = binary -1010.
Can very long numbers be converted?
Yes, decimal.js arbitrary precision handles numbers far beyond normal limits.

Related Tools

Code FormatterXML FormatterUnicode ConverterColor Code ConverterBase64 Encoder DecoderURL Encoder DecoderHTML Entity EscapeCookie to JSONJSON Unicode EscapeMD5 EncoderJWT Decode Verify EncodeJSON to CookieUUID Generator & ParserRegex TesterHTTP Status CodesPort NumbersASCII TableUser-Agent ViewerMy Browser FingerprintJSON Unicode UnescapeCron Expression Generator & ParserIP Address LookupHash CalculatorSQL Formatter