Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Numbers & Maths

Roman Numeral Converter

Translate between Arabic numbers and strict subtractive Roman numerals in either direction. Optionally use vinculum (parenthesised) notation to reach 3,999,999, and validate or decode any Roman numeral you paste in.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

How it works

Both directions with automatic detection

Type 2024 and you get MMXXIV; type MMXXIV and you get 2024. In auto mode anything built only from the letters I, V, X, L, C, D, M and parentheses is read as a numeral and everything else as a decimal, so you rarely touch the Mode dropdown. Empty input simply returns an empty result.

Extended range and the vinculum trick

Standard notation stops at 3999 because it has no symbol above M. Turn on extended range and values up to 3,999,999 encode by wrapping the thousands group in parentheses — 4000 becomes (IV) and 10,000 becomes (X) — and decoding accepts one such group plus the remainder.

Validation works by re-encoding

A numeral is decoded and then re-encoded: only if the round trip reproduces your exact input is it accepted. That is what rejects additive or scrambled forms such as IIII, VX or IC. Lowercase text and stray spaces are normalised first, so mmxxiv converts fine.

Guard rails and where the lookup runs

Zero, negatives and decimals are refused with a message that numerals start at 1, and decoding stops at the first character outside the Roman set. Extended mode adds its own limit of one parenthesised group, and decoding a parenthesised form without extended mode enabled is an error. The whole conversion is a local table lookup, so nothing you paste is sent anywhere.

Questions

What forms are rejected?

Anything non-canonical: additive runs like IIII or VX are rejected because the converter validates by re-encoding, so only strict subtractive numerals decode.

What is the maximum without extended mode?

3999 (MMMCMXCIX) — Roman numerals have no native symbol beyond 1000. Extended mode wraps thousands groups in parentheses, so (X) = 10,000.

Is lowercase or spaced input accepted?

Yes. Text is upper-cased and whitespace stripped before decoding, so “mm xxiv” reads the same as “MMXXIV”, and the canonical check runs against the normalised form.

See category