Roman Numeral Converter
CV-22Convert whole numbers from 1 to 3999 to Roman numerals, or Roman numerals back to numbers. One value per line, and invalid forms such as IIII are rejected.
Runs in your browser. Nothing is uploaded.
Numbers or Roman numerals (one per line)
Result
How to use it
- Type or paste values into the input box, one per line.
- Click Number to Roman to turn digits into numerals, or Roman to number to turn numerals into digits.
- Tick Show the input beside each result if you want lines such as 1994 = MCMXCIV.
- Read the output. If a value is invalid, the error quotes it and says what to look for.
- Copy the result or download it as a text file.
The rules it checks
Standard Roman numerals use the letters I, V, X, L, C, D and M for 1, 5, 10, 50, 100, 500 and 1000. I, X, C and M may repeat up to three times in a row, and V, L and D never repeat. A smaller letter before a larger one is subtracted, but only in the pairs IV, IX, XL, XC, CD and CM. So 4 is IV, not IIII, and 1994 is MCMXCIV. Input is not case sensitive, so mcmxciv works.
Why 3999 is the top
In standard form M can repeat three times, so the largest numeral is MMMCMXCIX, which is 3999. There is no symbol for zero, so 0 is out of range as well. Ways of writing larger numbers, such as a bar over a letter to multiply by 1000, are not supported, and the output uses ordinary capital letters rather than the single Unicode Roman numeral characters.
Strict, not forgiving
Some clock faces write 4 as IIII. This converter does not guess what you meant. It rejects anything outside the standard form with an error, so a typo such as VX is flagged instead of being turned into a wrong number.
Error messages and what to do
| Message | What it means | Fix |
|---|---|---|
"IIII" is not a valid Roman numeral in standard form. Look for four repeats such as IIII (write IV) or a wrong pair such as VX. | The letters are Roman numeral letters but do not follow the standard rules. | Write 4 as IV and 9 as IX, and check for a smaller letter in front of a letter more than ten times larger. |
4000 is out of range. Roman numerals here cover 1 to 3999. | The number is below 1 or above 3999. | Use a number from 1 to 3999. |
"ABC" contains "A", which is not a Roman numeral letter. Use I, V, X, L, C, D or M. | The input has a character that is not one of the seven letters. | Remove the other characters or check for a typo. |
Questions people ask
What is 2024 in Roman numerals?
MMXXIV. That is MM for 2000, XX for 20 and IV for 4. Paste 2024 into the box and click Number to Roman to see it, or paste MMXXIV and click Roman to number to check it.
Is IIII a valid Roman numeral?
Not in standard form. Four is written IV. IIII does appear on some clock faces as a style choice, but this converter rejects it so that a mistake in your input is not silently accepted.
What is the largest Roman numeral you can write?
MMMCMXCIX, which is 3999. Standard numerals allow M up to three times, and there is no common standard symbol past that. Numbers of 4000 or more are reported as out of range.
Is there a Roman numeral for zero?
No. The Roman system had no symbol for zero, so 0 is out of range here and gets an error. The converter accepts whole numbers from 1 to 3999 only.
Can I convert several numbers at once?
Yes. Put one value on each line and all lines are converted together. Blank lines are kept, and if one line is invalid the error names the line and the value.
Does it accept lowercase Roman numerals?
Yes. Lowercase input such as mcmxciv is read as MCMXCIV, and the result is 1994. Output from Number to Roman is always written in capital letters, whatever you typed.
About this tool
Converts between whole numbers from 1 to 3999 and standard Roman numerals, one per line. Roman input is not case sensitive and is checked strictly: only I, V, X, L, C, D and M, repeated at most three times in a row, with the usual subtractive pairs (IV, IX, XL, XC, CD, CM). Forms such as IIII, VX, IC or MMMM are rejected with an error, not guessed. There is no zero and no value above 3999, and the extended notations for larger numbers (a bar over a letter) are not supported. Output uses plain capital letters, not the Unicode Roman numeral characters.