EditSafely

Convert an Integer to Ordinal

Add -st, -nd, -rd, -th suffixes to integers. Runs entirely in your browser, so your data never leaves your device.

0 chars · 0 lines

Output

The result appears here as you type.

Options
Ordinal format

How to use Convert an Integer to Ordinal

  1. 1. Paste the integers. Enter one or more whole numbers separated by spaces or newlines. Each one is converted independently to its ordinal form.
  2. 2. Choose the ordinal format. Pick Suffix to get compact forms like 1st, 2nd and 3rd, or Words to get spelled-out ordinals like first, second and third, depending on what your document style calls for.
  3. 3. Copy the ordinal list. Copy the converted values in the same order they were entered and paste them into a schedule, ranking, or piece of writing that needs ordinal numbers.

When to use Convert an Integer to Ordinal

Convert an Integer to Ordinal turns plain whole numbers into their ordinal form, either as a suffix like 1st and 2nd or fully spelled out as first and second. Use it whenever a list of numbers needs to read as a ranking or sequence rather than a raw count.

  • Writing race or competition results. A results page needs to display finishing positions as 1st, 2nd, 3rd and so on. Paste the plain rank numbers in and copy out the properly suffixed versions.
  • Formatting dates in a document. A formal invitation or article style calls for dates written as the 21st of March rather than March 21. Convert the day number to its ordinal suffix before dropping it into the sentence.
  • Generating spelled-out ordinals for a script. A voiceover or narration script reads better with words like first and second instead of numerals with suffixes. Switch the Ordinal format to Words to get the spelled-out version.
  • Labeling steps in a numbered list. Some documentation styles favor first, second and third over 1, 2 and 3 for introductory steps. Convert the sequence numbers here before writing the final copy.

Examples

Ordinal suffixes

Input

1 2 3 4 11 21

Output

1st
2nd
3rd
4th
11th
21st

Ordinals as words

Input

1
21
100

Output

first
twenty-first
one hundredth

About the Convert an Integer to Ordinal tool

Convert an Integer to Ordinal runs as plain JavaScript in your browser tab, with no server behind it. Add -st, -nd, -rd, -th suffixes to integers. Whatever you put in stays on your device from start to finish.

The tool is part of EditSafely's Integer Tools section, 133 single-purpose utilities built around the same idea: open the page, get the result, keep your data to yourself.

You can shape the output with the Ordinal format setting, and the result refreshes the moment you change it. 2 worked examples further down the page show exactly what the tool produces for real inputs.

That local-first design has practical benefits beyond privacy. The tool keeps working on a flaky connection once the page has loaded, results are instant because nothing round-trips to a server, and it is safe to use with confidential material.

Frequently asked questions

Is Convert an Integer to Ordinal free to use?

Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.

Is it safe to paste sensitive or confidential data?

Everything happens locally. Your browser downloads the tool's code once, then does all the processing itself; nothing you enter is transmitted, stored or logged. You can even go offline after the page loads and it will still work.

How much text can I process at once?

There is no fixed limit. Because the work happens on your own device rather than on a shared server, the practical ceiling is your machine's memory, which comfortably handles inputs far larger than typical online tools allow.

Do I need to sign up or install anything?

No. The tool works in any modern browser on desktop, tablet or phone. There is no account to create, no extension to add and no software to install.

How do I use the result?

The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.