Keep Digits

Keep digits only.

Keeps 0–9 only. Unlike Remove Digits this drops letters. No digits fails.

What Keep Digits does

Keeps 0–9 only. Unlike Remove Digits this drops letters. No digits fails.

Practical limit for Keep Digits: Must contain digits. That is why output can differ from heavy desktop Text software. Read the tool-specific note again: Keeps 0–9 only. Unlike Remove Digits this drops letters. No digits fails.

How to use Keep Digits

  1. Keep this tab on Keep Digits (/text/keep-digits-text). Pasting into the wrong Text tool (for example Remove Digits) changes the job.
  2. Paste or type the input Keep Digits expects. Path hint: text · keep digits text. Keep digits only.
  3. Apply the Keep Digits action only. Extract Numbers is a different transform (Pull decimal numbers out of pasted text.). Keeps 0–9 only. Unlike Remove Digits this drops letters. No digits fails.
  4. Copy the output of Keep Digits if you need it elsewhere. Size/complexity still follows: Must contain digits.
  5. If the text job is actually Strip digits from text., leave Keep Digits and open Remove Digits.

When not to use Keep Digits

Skip Keep Digits when a neighbor tool matches better — start with Remove Digits or Extract Numbers — or when the description already warns the job will fail. In the tool’s own words: Keeps 0–9 only. Unlike Remove Digits this drops letters. No digits fails.

Questions about Keep Digits

What does Keep Digits do that other Text pages on this site do not?
Keeps 0–9 only. Unlike Remove Digits this drops letters. No digits fails. Short version: Keep digits only.
Does Keep Digits upload my file or text to Tool-You servers?
No. Keep Digits runs in this browser tab. Files stay on the device. Limit note: Must contain digits.
Should I use Remove Digits instead of Keep Digits?
Use Keep Digits when you need Keep digits only. Use Remove Digits when you need Strip digits from text. They share a category (Text) but not the same job.
What are the limits of Keep Digits?
Must contain digits. Also: Keeps 0–9 only. Unlike Remove Digits this drops letters. No digits fails.