Mixed string
Input
Order #123-45AB
Output
12345
Keeps only digits and removes everything else.
Text Tools
Review practical Keep Only Numbers examples so you can understand expected input, output, and common patterns faster.
Use this keep only numbers tool to extract digits from mixed text while removing letters, punctuation, symbols, and other non-numeric characters.
Example pages are especially useful for text tools because they show what good input looks like, what kind of output to expect, and how the tool behaves in common scenarios.
Input
Order #123-45AB
Output
12345
Keeps only digits and removes everything else.
Input
+1 (800) 555-0199
Output
18005550199
Useful when you need the numeric part only.
Fix: This tool keeps only digits, so separators are removed too.
Fix: Use Remove Letters from Text if you want to keep symbols and punctuation.
Fix: This tool keeps numeric digits only, not number words.
After reviewing these examples, run the live tool with your own input. If your task involves a follow-up step, the related page can help you move to the next tool in the workflow.
Open the main Keep Only Numbers page and test your own real input.