Largest values are consumed first
Decimal conversion walks a table from M through I, including subtractive pairs. It repeatedly appends the largest symbol that does not exceed the remaining number.
Convert between Roman numerals and Arabic numbers with validation.
Type a decimal number or Roman numeral to convert.
View the result instantly as you type in either direction.
Click copy to grab the converted Roman numeral or number.
The converter recognizes decimal integers and the Roman symbols I, V, X, L, C, D, and M. Decimal input is expressed with standard subtractive pairs such as IV, IX, XL, XC, CD, and CM. Roman input is totaled from left to right and compared with the canonical form.
A concrete input and expected output from the current implementation.
Input
2026
Expected output
MMXXVI
Two M symbols contribute 2,000, two X symbols contribute 20, V contributes 5, and I contributes 1.
Decimal conversion walks a table from M through I, including subtractive pairs. It repeatedly appends the largest symbol that does not exceed the remaining number.
Roman letters are summed with smaller values before larger ones subtracted. Re-converting the total reveals the conventional canonical spelling when the entered sequence differs.
Modern canonical notation commonly uses subtractive form: I before V subtracts one from five. Historical inscriptions sometimes used IIII.
Classical Roman numeral notation has no standard zero symbol, so this converter starts at 1.
The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.
Convert CSV data into structured JSON arrays or objects with automatic type detection.
Transform JSON arrays and objects into downloadable CSV spreadsheet format.
Convert YAML configuration files to JSON format with validation and formatting.
Parse XML documents and convert them to equivalent JSON structure with attributes.
Convert tab-separated values to comma-separated format with proper escaping.
Convert numbers between binary, octal, decimal, and hexadecimal bases.