LOCAL TEXT TOOL · VERIFIED LOCAL TOOL

Count text digits

Count Unicode decimal digits in pasted text.

LOCAL PROCESSING · No upload or network lookup · Maximum input 1 MB

Input

Result

Loading local tool…

All text conversion happens in this browser tab. You decide whether to copy or download the result. Outputs are not saved on CraftAI servers.

Explore all released tools

Digit Counter – Numbers in Text

Count Unicode decimal-digit characters in text and logs. The tool processes your provided input and displays or downloads an output for review.

Does 123 count as one or three?

Three digit characters are counted.

Related resource: Count characters

Worked example: count digits in a date

The text Invoice issued 2026-10-18 contains 8 digit characters: four in the year, two in the month and two in the day. The hyphens, spaces and letters are not counted as digits.

Does it count numbers or individual digits?

It counts individual Unicode decimal-digit characters. For example, 123 contributes three, not one. To collect whole numerical values instead, use . The counter is not a date or number validator.

For copyable examples that distinguish digit characters from complete numbers, see our digit-counting tutorial, including leading-zero and Unicode cases.

Built on Hatchable