🍋 Math Tools

Number Base Converter

Convert between binary, octal, decimal, hex, and any base

Free ทำงานในเบราว์เซอร์เท่านั้น No sign-up
chars words sentences lines

Type or paste something into the Input box to enable this button.

ผลลัพธ์

ผลลัพธ์

เกี่ยวกับ Number Base Converter

Convert numbers between any base from 2 to 36. Auto-detects 0b, 0o, 0x prefixes. Shows simultaneous binary, octal, decimal, and hexadecimal representations.

วิธีการทำงาน

Uses JavaScript's parseInt() to read the input in the specified base, then toString() to convert to all four bases simultaneously.

ทีละขั้นตอน

  1. 1 Enter a number (use 0b, 0o, 0x prefix for auto-detection)
  2. 2 Select source and target bases
  3. 3 View the number in all common bases simultaneously
  4. 4 Copy any representation

เคล็ดลับ

  • [
  • '
  • 0
  • b
  • p
  • r
  • e
  • f
  • i
  • x
  • =
  • b
  • i
  • n
  • a
  • r
  • y
  • ,
  • 0
  • o
  • =
  • o
  • c
  • t
  • a
  • l
  • ,
  • 0
  • x
  • =
  • h
  • e
  • x
  • a
  • d
  • e
  • c
  • i
  • m
  • a
  • l
  • '
  • ,
  • '
  • H
  • e
  • x
  • i
  • s
  • w
  • i
  • d
  • e
  • l
  • y
  • u
  • s
  • e
  • d
  • i
  • n
  • C
  • S
  • S
  • c
  • o
  • l
  • o
  • r
  • s
  • ,
  • m
  • e
  • m
  • o
  • r
  • y
  • a
  • d
  • d
  • r
  • e
  • s
  • s
  • e
  • s
  • ,
  • a
  • n
  • d
  • e
  • n
  • c
  • o
  • d
  • i
  • n
  • g
  • '
  • ,
  • '
  • E
  • a
  • c
  • h
  • h
  • e
  • x
  • d
  • i
  • g
  • i
  • t
  • m
  • a
  • p
  • s
  • t
  • o
  • e
  • x
  • a
  • c
  • t
  • l
  • y
  • 4
  • b
  • i
  • n
  • a
  • r
  • y
  • d
  • i
  • g
  • i
  • t
  • s
  • (
  • n
  • i
  • b
  • b
  • l
  • e
  • )
  • '
  • ]

คำถามที่พบบ่อย