Natural Language to Number Converter

JSON →
library 3.0.1 ·python
verified May 25, 2026

text2num (v3.0.1) is an actively maintained Python library designed to parse and convert numbers expressed in natural language words from French, Spanish, English, Portuguese, German, Dutch, or Italian into their digit representations. It handles both integer parsing (`text2num`) and detection/transcription of cardinal, ordinal, and decimal numbers within a text stream (`alpha2digit`). The library is regularly updated and recently underwent a significant rewrite with a Rust backend.

total hits 22
actors 8 distinct systems
last hit 1d ago ByteDance
GPTBot
6
MetaBot
4
ByteDance
3
Script
2
ChatGPT-User
1
Search engines
1

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada · 🇸🇬 Singapore · 🇫🇷 France