דלג לתוכן הראשי

ממיר בסיס מספרי

המר מספרים בין כל בסיסים מ-2 עד 36 — בינארי, אוקטלי, עשרוני, הקסדצימלי ומעבר לכך.

Input
Input base:
0 chars | 0 bytes
Output
Decimal
Binary
Octal
Hexadecimal

Programmers regularly encounter numbers in bases other than 10: memory addresses in hexadecimal, file permissions in octal, network masks in binary, and custom encoding schemes in unusual bases. Mentally converting between them is slow and error-prone. A reliable base converter removes that friction, letting you focus on what the number means rather than its representation.

This tool converts any integer between base 2 and base 36, covering every base used in practice — binary, octal, decimal, hexadecimal, base32, base36, and everything in between. Paste a value, select its source base, and see the result in all common bases simultaneously. Useful for embedded development, cryptography, colour manipulation, and understanding compiler or assembler output.

איך להמיר בסיסים מספריים אונליין

  1. 1

    הכנס מספר ובסיס מקור

    הקלד מספר ובחר את הבסיס שלו (2–36). בינארי, אוקטלי, עשרוני והקסדצימלי הם הפריסטים הנפוצים.

  2. 2

    ראה את כל הייצוגים

    פלטי בינארי, אוקטלי, עשרוני והקסדצימלי מתעדכנים בו-זמנית. הכנס בסיס יעד מותאם אישית לכל המרה אחרת.

  3. 3

    טיפול במספרים גדולים

    הכלי משתמש ב-JavaScript BigInt עבור מספרים שלמים בדיוק שרירותי. ערכים של 64-bit וגדולים יותר מומרים ללא אובדן דיוק.

How Base Conversion Works

Every positional numeral system represents an integer as a sum of digit values multiplied by powers of the base. The digits used for bases above 10 are the lowercase letters a–z, so base 16 uses 0–9 and a–f, and base 36 uses 0–9 and a–z — giving 36 distinct symbols. To convert from any base to another, the standard algorithm first converts the input string to a native integer by accumulating `digit * base^position` for each digit, then repeatedly divides that integer by the target base, collecting remainders as the output digits from least significant to most significant.

For large numbers, arbitrary-precision arithmetic is required — JavaScript's native numbers lose precision beyond 2^53, so this tool uses BigInt internally to handle arbitrarily large integers without rounding errors.

למה להשתמש בממיר הבסיס המספרי של FileCrank?

  • ✓ המרה בין כל שני בסיסים מ-2 עד 36.
  • ✓ הצגה בו-זמנית של בינארי, אוקטלי, עשרוני והקסדצימלי.
  • ✓ תמיכת BigInt עבור מספרים שלמים גדולים בדיוק שרירותי.
  • ✓ פועל לחלוטין בדפדפן — שום נתון לא נשלח לשרת.

תכונות ומפרטים

גודל קובץ מקסימלי
עד 100 MB
פרטיות
הקבצים נמחקים לאחר כשעה
מחיר
חינם, ללא הרשמה
עיבוד
100% בדפדפן
הנתונים שלך לא יוצאים מהדפדפן — כל העיבוד הוא מקומי.ללא צורך בחשבון או הרשמה.חינמי ללא הגבלת שימוש.

שאלות נפוצות

אילו בסיסים יכול הממיר הזה לטפל בהם?

כל בסיס שלם מ-2 עד 36. בסיס 2 הוא בינארי, בסיס 8 הוא אוקטלי, בסיס 10 הוא עשרוני, בסיס 16 הוא הקסדצימלי. בסיסים 11–36 משתמשים באותיות A–Z עבור ספרות מעל 9.

האם הממיר הזה יכול לטפל במספרים גדולים ללא אובדן דיוק?

כן. הכלי משתמש ב-JavaScript BigInt לכל חישוב, שתומך במספרים שלמים בגודל שרירותי. JavaScript Number סטנדרטי מאבד דיוק מעל 2^53 − 1 (כ-9 קוודריליון).

למה הכנסת 'G' בקלט הקסדצימלי גורמת לשגיאה?

ספרות הקסדצימליות חוקיות הן 0–9 וA–F (לא רגיש לרישיות). 'G' אינה ספרה הקסדצימלית חוקית. הכלי מדגיש את התו הלא חוקי באופן מוטבע.

מה ההבדל בין הכלי הזה לממיריי הבינארי, הקס והאוקטלי?

ממיר הבסיס המספרי מתמקד בהמרת בסיס מספרי טהורה בין כל שני בסיסים. ממיריי הבינארי, הקס והאוקטלי מציגים גם ייצוגי טקסט (תווים) של הקלט — הם פועלים על מחרוזות תווים, לא רק על ערכים מספריים.

Browser Converter vs. Python int() vs. Programmer Calculator

Python's `int('ff', 16)` and `bin()` / `hex()` / `oct()` functions handle common bases elegantly, but require a REPL and only cover bases 2, 8, 10, and 16 natively. The Windows Programmer Calculator covers binary, octal, decimal, and hex but caps at 64-bit integers and is not available on every platform. A browser-based converter supports all bases 2–36, works on any OS, and shows all representations at once for quick cross-reference.

ממיר הבסיס המספרי של FileCrank ממיר מספרים שלמים בין כל בסיסים מ-2 עד 36 בדיוק BigInt, ומציג בינארי, אוקטלי, עשרוני והקסדצימלי בו-זמנית, בדפדפן שלך.

Advertisement

Ad