Base Converter
Convert a number between binary, octal, decimal and hexadecimal, starting from whichever base it is written in.
- 100% Free
- No account required
- Runs in your browser
- No data is uploaded
Not saved automatically
Private to this browser, not a cloud backup. Saves expire 7 days after the last save. Avoid saving sensitive data on shared devices.
Input
Paste or edit your number, then click “Run tool”.
Type, paste or drop a file
TextLn 1, Col 1Spaces: 2UTF-83 bytes
Output
Every base (read-only).
Read-only
TextLn 1, Col 1Spaces: 2UTF-80 bytes
Using the Base Converter
Overview
Convert a number between binary, octal, decimal and hexadecimal, starting from whichever base it is written in.
Read register values, bit masks, IDs and protocol fields written in a base other than the one you need.
How to use it
- Paste or type your Text into Input, drop a file onto it, or press Example to load a sample.
- Choose the settings in the Input base bar under the editors.
- Press Run tool, or ⌘ ↵ from anywhere on the page.
- Read the result in Output, then copy or download it. The Result tab has size, line counts and next steps.
Input
Number.
Settings
- Input base — Binary, Octal, Decimal, Hex
Output
Every base.
- Binary, octal, decimal and hex
- Integers wider than 64 bits
- 0x prefix accepted for hex
- Every base shown at once
Tips
- Pick the base your number is written in before running the converter.
- Timestamps under eleven digits are read as seconds, longer ones as milliseconds.
- CSV conversion expects a header row.
Keyboard shortcuts
- ⌘ ↵
- Run the tool
- ⌘ K
- Search every tool
- /
- Filter the sidebar