JavaScript Roman Numeral Converter

This simple tool, written in JavaScript, will convert Roman numerals to an integer and integers to Roman numerals.

In order to handle very large numbers, the tool uses the conversion chart below and is therefore case-sensitive. The lowercase numerals are traditionally represented capitalized and overlined.

Conversion Chart

I: 1
V: 5 v: 5,000
X: 10 x: 10,000
L: 50 l: 50,000
C: 100 c: 100,000
D: 500 d: 500,000
M: 1,000 m: 1,000,000

The Code Download


© 2006-2024 quixfox [at] gmail dot com some rights reserved