Roman numeral converter
Convert decimal integers to Roman numerals and back.
How it works
Choose a direction for integers from 1 to 3,999. Decimal-to-Roman output can use uppercase (default) or lowercase letters. Decimal input must contain ASCII digits only (no leading zero). Roman input accepts ASCII I, V, X, L, C, D and M in either case, using the conventional modern subtractive notation. Outer ASCII spaces, tabs and line breaks are ignored; internal whitespace and Unicode numeral glyphs are rejected.
Copy conversion summary
Use Copy Roman numeral conversion summary to copy the displayed output code-point count as tab-separated Metric and Value columns, without copying the converted text. For example, 2026 becomes MMXXVI (6 output code points); decoding MMXXVI gives 2026 (4 output code points). Empty valid results count as zero.
Roman numeral values
- I
- 1
- V
- 5
- X
- 10
- L
- 50
- C
- 100
- D
- 500
- M
- 1000
Conversion examples
For 2026, combine MM (2000), XX (20) and VI (6): MMXXVI. The six subtractive pairs are IV (4), IX (9), XL (40), XC (90), CD (400) and CM (900). For example, 1994 is MCMXCIV. The largest supported value, 3999, is MMMCMXCIX. For 2027, uppercase output is MMXXVII and lowercase output is mmxxvii. Output case only changes the letter case, not the value or notation. Roman-to-decimal conversion accepts either case, including mixed case.
This converter uses a single modern canonical convention; it rejects IIII, IL and IIV even though historical inscriptions and clock faces may use other forms. Zero, negatives, fractions and overline notation are outside the supported range. Input is limited to 64 UTF-16 units. Use ordinary Latin letters, not compatibility characters such as Ⅳ. To convert such glyphs to Latin letters separately, use NFKC Unicode normalization.
Related: Copy individual number symbols · Inspect Unicode code points.