Decimal to Any Base Converter
Convert any decimal integer to any base from 2 to 36, with optional digit grouping and common-base quick buttons.
Input
Base 2Base 36
Result
Base 16 (Hex)
All common bases
Copied to clipboard!
Summary
Convert any decimal integer to any base from 2 to 36, with optional digit grouping and common-base quick buttons.
How it works
- Type a decimal integer (positive or negative) into the input field.
- Choose a target base using the quick-select buttons or the custom slider.
- The result appears instantly in the output area.
- Toggle digit grouping to split the output into readable chunks.
- Click "Copy" to copy the result to your clipboard.
Use cases
- Convert decimal to binary for low-level programming and bit manipulation.
- Express color channel values as hexadecimal for CSS or HTML.
- Convert Unix file permissions to octal notation.
- Explore number theory by converting to unusual bases like base 3 or base 12.
- Verify hand calculations during computer science coursework.
- Encode integers in base 36 for compact alphanumeric identifiers.
- Debug data transmission protocols that use specific encoding schemes.
Frequently Asked Questions
Last updated: 2026-06-09 ·
Reviewed by Nham Vu