CraftTools

Number Base Converter

Guide: Linux File Permissions and chmod Explained

Bits needed: 8 · Bytes: 1

Binary, grouped: 1111 1111

Hex, grouped: FF

Nothing you enter or choose here leaves your device. This tool runs in your browser.

How to use

  1. 1Type a number into any of the boxes.
  2. 2The other boxes update straight away.
  3. 3Change the last box to any base from 2 to 36.
  4. 4Click Copy next to the value you need.

Frequently asked questions

Can it convert very large numbers?

Yes. It uses arbitrary-precision integers, so numbers with hundreds of digits convert exactly, with no rounding.

Can I type prefixes like 0x or 0b?

Yes. 0x for hexadecimal, 0b for binary and 0o for octal are accepted. Spaces, commas and underscores in the number are ignored.

Does it handle negative numbers or fractions?

Negative whole numbers are shown with a minus sign, not in two's complement. Fractions and decimals aren't supported.

What do base 36 digits look like?

Base 36 uses 0-9 and then a-z, so z means 35. It is often used to make short IDs.

Read the guides

Learn how this works and how to get the most from it.

Developer

Linux File Permissions and chmod Explained

Understand read, write and execute permissions, what 755 and 644 mean, and how to use chmod with octal and symbolic modes.

2 min read

Developer

Subnet Masks and CIDR Notation Explained

What /24 and 255.255.255.0 mean, how to count hosts in a subnet, and how to split a network into smaller ones.

1 min read

Base64 & URL Encoder / Decoder

Encode and decode Base64 and URL-encoded text instantly.

Hash Generator

Generate MD5, SHA-1, SHA-256 and SHA-512 hashes and HMACs.

Color Converter & Contrast Checker

Convert HEX, RGB and HSL and check WCAG contrast ratios.

Unit Converter

Convert length, weight, temperature, volume, speed and more.