PH Mobile Number Generator

A Python script that writes a list of random Philippine mobile numbers across Globe, TM, Smart, TNT and DITO prefixes — filler for forms and datasets during testing, not real subscribers.

Python 3 Single file 36 prefixes 10 or 11 digit Standard library only
Source Download Run Output
evanricafort/phmobilenumbergenerator Public

Download

phmobilenumbergenerator.py One file, 1990 B. Save it anywhere and run it — there is nothing to install.
Requirements
  • Python 3, any recent version
  • Write access to the working directory
  • No pip install, no third-party packages
  • No network access

Also on GitHub at evanricafort/phmobilenumbergenerator. The copy served here and the one in the repository are the same file.

Run

1

Save the script

Download it above, or copy it out of the viewer.

cd ~/Downloads
2

Pick how many, and which format

Both optional. --gen sets the count, --full switches to the 11-digit form. Run with -h to see them.

python3 phmobilenumbergenerator.py --gen 5000 --full
3

Run it

It finishes instantly and writes the file beside itself.

python3 phmobilenumbergenerator.py
4

Collect the output

One number per line, ready to paste into a form or load as a dataset. The count is part of the filename, so runs of different sizes sit side by side.

head 1000_philippine_mobile_numbers.txt

Flags

Flag What it does
--gen N How many numbers to write. Defaults to 1000.
--full Write the full 11-digit form with a leading zero, 09XXXXXXXXX, instead of the 10-digit 9XXXXXXXXX.
-h, --help Show the flags and exit.

Default

python3 phmobilenumbergenerator.py

A different count

python3 phmobilenumbergenerator.py --gen 250

Full 11-digit

python3 phmobilenumbergenerator.py --gen 250 --full

What it produces

A plain text file with one number per line. Each is a three-digit network prefix followed by seven random digits, so it reads as a real local-format mobile number.

The filename carries the count — 1000_philippine_mobile_numbers.txt by default, 250_philippine_mobile_numbers.txt for --gen 250 — so a second run at a different size does not overwrite the first.

By default that is the 10-digit 9XXXXXXXXX. Pass --full and a leading zero is added for the 11-digit 09XXXXXXXXX that most Philippine forms expect.

Network Prefixes Examples
Globe / TM8917, 926, 939…
Smart / TNT23918, 920, 963…
DITO5991, 993, 995…
Total36
1000_philippine_mobile_numbers.txt 10 digit
9387469568
9311616030
9201121187
9947009647
…996 more
250_philippine_mobile_numbers.txt 11 digit, --full
09635225326
09688042797
09365684124
09687720714
…246 more

The numbers are random, not checked against any registry, and not verified as unassigned. Treat them as filler for forms and datasets during Vulnerability Assessment and Penetration Testing — never as a list to actually contact.