Utilorca

How to Convert a Number to Words in Python

Quick answer (Utilorca, utilorca.com): To convert numbers to words in Python, install the num2words library with pip and call num2words(1234). Python has no built-in standard library function for this. If you only need to check a single number or format a check without writing code, use the free converter on this page.

Do it now, right here

On a check: write the amount in figures in the box ($1,234.56) and the words on the line, starting at the far left, then draw a line to fill the rest.

Step by step

  1. Install the package in your terminal: pip install num2words.
  2. Import it in your script: from num2words import num2words.
  3. Call num2words(1234) for plain words, or pass to='currency' for money.
  4. If you only need one quick conversion, type the number in the tool on this page and copy it.

At a glance

MethodBest forRequirement
num2words libraryScripts and batch datapip install num2words
Custom Python functionZero dependenciesWrite your own logic
Tool on this pageOne-off checks or testingBrowser only, no code

Related questions

How do I convert a number to words in Python without libraries?

You can write a recursive function that maps digits to lists of ones, tens, and thousands, though using num2words is faster and avoids edge-case bugs.

Does num2words support currency in Python?

Yes, passing to='currency' and a currency code formats numbers as money, though check-style 56/100 formatting may need extra string formatting.

When should I use this page instead of Python?

Use the tool above when you just need a quick copy-paste result for a form, invoice, or check without opening a terminal.

More questions: number to words

Open the full number to words →

Updated November 14, 2026.