המרת מספרים בין בינארי, אוקטלי, עשרוני והקסדצימלי. ערכו כל שדה והשאר מתעדכנים מיד. ערכים גדולים מדויקים, ללא עיגול.
כיצד להשתמש בבסיס מספרי
הקלידו מספר בכל אחד מארבעת השדות.
הבסיסים האחרים מתעדכנים מיד תוך כדי הקלדה.
הפעילו אותיות גדולות בהקסדצימלי והעתיקו כל ערך בלחיצה אחת.
This number base converter switches whole numbers between binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16). Every field is editable, so you can type into any base and read the equivalent in the others instantly.
A number base is just how many distinct digits a system uses before it rolls over to the next position. Decimal uses ten (0 to 9), binary uses two (0 and 1), and hexadecimal uses sixteen, adding a to f for the values ten to fifteen, which is why a single hex digit neatly represents four binary bits.
Conversions use arbitrary-precision integers (BigInt), so even very long values stay exact, without the rounding errors that affect ordinary floating-point numbers once they get large.
Bases come up all over low-level work: hexadecimal for colors, bytes and memory addresses, binary for flags and network masks, and octal for Unix file permissions. Reading the same value across bases makes debugging and bit-twiddling much easier.
A leading minus sign is supported for negatives, spaces are ignored so you can group digits for readability, and an option shows hexadecimal in upper or lower case.
It converts integers only; fractional base conversion is a separate problem and is intentionally left out so the results stay exact. Everything runs in your browser.
שאלות נפוצות
בינארי (בסיס 2), אוקטלי (בסיס 8), עשרוני (בסיס 10) והקסדצימלי (בסיס 16). אפשר לערוך כל אחד מהם והשאר עוקבים.
כן. הוא משתמש במספרים שלמים בדיוק שרירותי (BigInt), כך שגם ערכים ארוכים מאוד מומרים בדיוק ללא שגיאות העיגול המשפיעות על מספרי נקודה צפה רגילים.
כן, סימן מינוס מוביל נתמך. רווחים מתעלמים מהם, כך שאפשר לקבץ ספרות לקריאות נוחה.
לא, הוא ממיר מספרים שלמים (integers). המרת בסיס של שברים היא בעיה נפרדת והושמטה בכוונה כדי לשמור על דיוק התוצאות.
הטמע את הכלי הזה
הוסף את הכלי הזה לאתר שלך. העתק את קטע הקוד שלהלן; הוא מתעדכן אוטומטית.
<iframe src="https://monu.tools/embed/he/number-base-converter" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>כלים קשורים
המרת CSV לטבלת Markdown וטבלאות Markdown חזרה ל-CSV, בשני הכיוונים.
פענחו JSON Web Token כדי לבחון את הכותרת (header) והמטען (payload) שלו, עם זמני תפוגה והנפקה בפורמט קריא. הכול פועל בדפדפן שלכם; אסימונים לעולם לא מועלים.
בדיקת ביטוי רגולרי מול הטקסט שלכם בזמן אמת. ראו כל התאמה מודגשת, עם קבוצות לכידה ודגלים. רץ כולו בדפדפן שלכם.
בנייה ובדיקה של ביטויי cron. בחרו תבנית מוכנה או ערכו את חמשת השדות, וראו את זמני ההרצה הבאים באזור הזמן שלכם. רץ כולו בדפדפן שלכם.