Converter ng number base
I-convert ang integer sa pagitan ng base 2 at 36 gamit ang eksaktong integer arithmetic sa anumang laki.
Input
Tip: pindutin ang Ctrl + Enter para patakbuhin
Mga naka-save na settings
Sa ngayon, nasa Ingles lamang ang detalyadong tulong sa ibaba.
Tungkol sa tool na ito
Programmers move between binary, octal, decimal and hexadecimal all the time: reading permissions, colour codes, bit masks and memory addresses. This converter handles any base from 2 to 36 using arbitrary-size integers, so very long numbers convert exactly without the rounding errors of ordinary floating-point maths.
Digits above 9 use letters, so base 16 uses 0–9 and a–f, and base 36 uses the whole alphabet.
Paano ito gamitin
- Enter the whole number using digits valid for its base.
- Enter the base it is written in (2 to 36).
- Enter the base you want (2 to 36).
- Run the conversion and copy the result.
Paano gumagana ang kalkulasyon
The input is validated digit by digit against the source base, accumulated as a BigInt, and then written in the target base. Letters are case-insensitive on input and lowercase on output.
integer(base a) → integer(base b)Halimbawa
A byte of all ones, 11111111 in base 2, converts to ff in base 16 (255 in decimal). A short base-36 code "zz" is 1295 in decimal. Entering 19 as an octal number is rejected because 9 is not an octal digit.
Halimbawang input at resulta
255 (10) = ff (16)
Mga limitasyon
- Non-negative integers only.
- Bases 2 to 36.
- No two’s-complement or signed binary interpretation.
Huling na-update:
Mga madalas itanong
Can I convert negative numbers or fractions?
No. Only non-negative whole numbers are supported.
Why is my octal number rejected?
It contains a digit that does not exist in that base, such as 8 or 9 in base 8.
Should I include 0x or 0b prefixes?
No. Remove prefixes like 0x and 0b before converting.
Pag-aayos ng problema
It shows an error.
Check for prefixes (0x), spaces, separators or digits invalid for the base.
I need uppercase hex.
Convert the result with the case converter.
I need a colour in RGB.
Use the HEX to RGB converter.
Privacy & Libreng gamitin
Sine-save ba ang aking input?
Nananatili sa tab na ito ang iyong input. Hindi namin natatanggap ang iyong mga file, na-paste na teksto o value ng kalkulasyon.
Libre ba ang tool na ito?
Oo. Walang kailangang signup o bayad.
Tingnan din
Mga susunod na hakbang
JSON formatter at validator
I-validate, i-pretty-print o i-minify ang JSON sa iyong device. Hindi kailanman ipinapadala sa server ang invalid na data.
Developer at SEOConverter ng CSV papuntang JSON
I-convert ang CSV header at record sa JSON, kasama ang delimiter na nasa quote at line break.
Developer at SEOConverter ng JSON papuntang CSV
I-convert ang flat na array ng object sa CSV. Nilalagyan ng proteksiyong prefix ang mga string na mukhang formula para sa spreadsheet.
Developer at SEO