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

  1. Type a decimal integer (positive or negative) into the input field.
  2. Choose a target base using the quick-select buttons or the custom slider.
  3. The result appears instantly in the output area.
  4. Toggle digit grouping to split the output into readable chunks.
  5. 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