Code tool

Number Base Practice Quiz

Answer a quick round of base-conversion questions and see your score immediately.

In-browser processingNo account requiredPrivacy details ↗

Example: Convert 0x2F to decimal → 47

A QUICK WALKTHROUGH

How to use this tool

  1. Read the source value and the requested target base.
  2. Enter the converted value and check your answer.
  3. Finish all 10 questions to see your score or start another round.

Four number bases

Questions convert non-negative integers among binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). Values range from 1 to 65,535.

Practice scoring

Each round has 10 randomized questions. Answers are checked locally in your browser; no answers or scores are uploaded or saved.

GOOD TO KNOW

Common questions

Can I include a base prefix in my answer?

Yes. You may enter the digits alone or include the matching 0b, 0o, or 0x prefix.

How are answers compared?

The quiz compares integer values, so letter case and leading zeroes do not affect a hexadecimal or other-base answer.