Base Converter
Supports arbitrary conversion between bases 2–36, including binary, octal, decimal, and hexadecimal, with support for single and batch conversions.
Browser execution mode: Your data is processed in your browser and is not uploaded to the server.
Speed and Stability: Processing speed depends on your device and browser. For large batch work, the desktop version may be more stable.
Loading tool, please wait...
If the online tool fails to load or run, try the desktop tool.https://tools.yikeaigc.com/
Tool Usage
Return to old versionConversion settings
Choose the conversion type and base range first. Bases 2-36 use 0-9 and A-Z. Input is case-insensitive.
Input data
Allowed characters for current source base: 0-9. Click an example first, then replace it with your value.
Conversion results
The results area previews only the first 20 batch records; copy and download include all results.
-
-
-
-
-
| No. | Source | Original value | Conversion results | Status |
|---|---|---|---|---|
| Waiting for batch conversion. | ||||
| Decimal | Binary | Octal | Hex |
|---|---|---|---|
| 0 | 0000 | 0 | 0 |
| 1 | 0001 | 1 | 1 |
| 2 | 0010 | 2 | 2 |
| 3 | 0011 | 3 | 3 |
| 4 | 0100 | 4 | 4 |
| 5 | 0101 | 5 | 5 |
| 6 | 0110 | 6 | 6 |
| 7 | 0111 | 7 | 7 |
| 8 | 1000 | 10 | 8 |
| 9 | 1001 | 11 | 9 |
| 10 | 1010 | 12 | A |
| 11 | 1011 | 13 | B |
| 12 | 1100 | 14 | C |
| 13 | 1101 | 15 | D |
| 14 | 1110 | 16 | E |
| 15 | 1111 | 17 | F |
Instructions
Software Usage Instructions
- Set conversion parameters: First choose single conversion or batch conversion in “Set Parameters”, then set the source base and target base. Bases 2–36 are supported. Common bases include binary, octal, decimal, hexadecimal, base 32, and base 36.
- Configure display options:
- Uppercase letters: Output letters in hexadecimal and higher bases in uppercase.
- Show common base prefixes: Add the 0b, 0o, and 0x prefixes to binary, octal, and hexadecimal results.
- Grouped display: Display long numbers in groups of the specified length for easier reading and checking.
- Pad binary by byte: Pad binary results to a multiple of 8 bits.
- Recognize 0b/0o/0x: When entering numbers with prefixes, automatically parse them using the corresponding base.
- Single conversion: Go to “Input Data” and enter an integer, or click the sample data to fill it in quickly. The tool will validate whether the characters match the source base, and display binary, octal, decimal, hexadecimal, and custom target base results on the results page.
- Batch text conversion: After selecting batch conversion, you can enter one value per line in the text box, or choose to parse by spaces, commas, semicolons, or CSV cells. Click “Next: View Results” to process in batch.
- Batch file conversion: After selecting file import, you can upload multiple TXT, CSV, or LOG text files. The interface only displays the first 20 files or the first 20 results, but all content will be included during processing.
- Copy and download results: Single results can be copied individually; batch results can be copied in full, or downloaded as TXT or ZIP. When processing multiple files, result file names in the ZIP will use the original file names as much as possible, and numbers will be appended automatically to distinguish duplicate names.
- Save settings: Frequently used parameters can be kept by clicking “Save Settings” and will continue to be used the next time you open the tool. To reset them, click “Restore Defaults”.