Number Base Converter (binary, octal, decimal, hex)

แปลงเลขฐาน 2 8 10 16

Type in any base and all four update live — binary, octal, decimal and hexadecimal, with BigInt support so long numbers are never truncated.

ทำงานในเบราว์เซอร์ของคุณ — ไม่มีไฟล์ใดถูกอัปโหลดRuns in your browser — nothing is uploaded
พิมพ์เลขฐานใดฐานหนึ่ง ทุกช่องจะอัปเดตเองType in any base — all four update live

วิธีใช้How to use it

  • กรอกข้อมูลในช่องด้านบน — ผลลัพธ์จะอัปเดตทันที
  • Enter your values above — the result updates as you type.
  • ไม่มีการสมัครสมาชิก ไม่มีลายน้ำ ใช้ได้ไม่จำกัดจำนวน
  • No sign-up, no watermark, unlimited use.
  • ข้อมูลทั้งหมดประมวลผลในเครื่องคุณ ไม่มีอะไรถูกส่งออก
  • Everything is computed on your device — nothing is sent anywhere.

พิมพ์เลขในฐานใดฐานหนึ่ง แล้วทุกฐานอัปเดตทันที — binary octal decimal hexadecimal รองรับเลขยาวด้วย BigInt ไม่จำกัดที่ 32 บิต

ใช้เครื่องมือนี้คู่กับUse this alongside

เทมเพลตที่ขายดีที่สุดของเรา ที่ทำงานกับข้อมูลประเภทเดียวกันOur best-selling templates, which handle the same kind of data

เทมเพลตที่เกี่ยวข้องRelated templates

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

เลขฐาน 16 ใช้ทำอะไร / What is hexadecimal for?

สีเว็บ (#1F3A5F) รหัสสีในไฟล์ และการดู memory dump ของโปรแกรมเมอร์ / Web colours, file encodings and reading memory dumps.

ฐาน 2 เกี่ยวกับอะไร / Why does binary matter?

คอมพิวเตอร์เก็บทุกอย่างเป็น 0 และ 1 — binary คือฐานจริงของเครื่อง / Computers store everything as 0 and 1; binary is the machine level.

แปลงยาวเกิน 32 บิตได้ไหม / Does it handle values beyond 32 bits?

ใช้ BigInt จึงแปลงเลขได้ยาวเท่าที่ต้องการ ไม่ล้นเหมือนตัวเลข JavaScript ธรรมดา / It uses BigInt, so there is no 32-bit overflow like plain JavaScript numbers.