Convert an Ordinal to a Number
Convert an ordinal number to a cardinal number. Runs entirely in your browser, so your data never leaves your device.
0 chars · 0 lines
Output
The result appears here as you type.
How to use Convert an Ordinal to a Number
- 1. Paste your ordinal numbers. Enter ordinals like 1st, 22nd, 103rd or 11th, one per line or separated however they appear in your source text.
- 2. Read the plain numbers. The tool strips the st, nd, rd or th suffix from each entry and returns the underlying cardinal number, so 22nd becomes 22 and 11th becomes 11.
- 3. Copy the cardinal results. Copy the plain numbers from the output pane into a spreadsheet cell, a sort key or any calculation that can't handle a trailing suffix.
When to use Convert an Ordinal to a Number
Convert an Ordinal to a Number strips the English suffix off ordinal numbers so you're left with a value you can sort, sum or compare numerically. Ordinals read naturally in prose, like 1st place or 103rd anniversary, but they're not usable as numbers until the suffix is gone.
- Cleaning a scraped leaderboard. You scraped race or contest results and the rank column reads 1st, 2nd, 3rd instead of plain integers. Converting the whole column makes it sortable in a spreadsheet.
- Parsing dates written with ordinals. A form or CSV export writes dates as 'the 3rd of March' or '22nd of June'. Stripping the ordinal suffix leaves the day number ready for a date parser.
- Normalizing survey response text. Respondents typed their finishing position as '11th' in a free-text field. Converting those entries to plain numbers lets you average or bucket the results.
- Preparing data for a numeric sort. A list of anniversary years like '103rd' and '22nd' needs to be sorted numerically rather than alphabetically. Stripping the suffix first fixes the sort order.
Examples
Ordinal suffixes
Input
1st 22nd 103rd 11th
Output
1 22 103 11
Ordinal words
Input
twenty-first one hundredth
Output
21 100
About the Convert an Ordinal to a Number tool
Convert an Ordinal to a Number is a free online tool that works entirely inside your web browser. Convert an ordinal number to a cardinal number. Because the processing happens on your own device, nothing you enter is uploaded, logged or stored anywhere.
This page is one of 194 Number utilities on EditSafely. Each one does a single job well, and all of them follow the same rule: your input stays on your machine.
There is nothing to configure. Provide the input and the result appears on its own. 2 worked examples further down the page show exactly what the tool produces for real inputs.
Because nothing leaves your device, the tool is suitable for sensitive content such as internal documents, credentials or customer data. It also responds instantly, since every keystroke is handled on your own machine rather than by a remote API.
Frequently asked questions
Does Convert an Ordinal to a Number cost anything?
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?
No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.
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?
Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.
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.
Related tools
All Number Tools →Convert a Number to an Ordinal
Convert a cardinal number to an ordinal number.
Convert Words to Numbers
Quickly convert spelled numbers to regular numbers.
Convert Numbers to Words
Quickly spell cardinal and ordinal numbers using English words.
Convert a Roman Number to Regular Number
Convert Roman Numerals to Arabic numerals.