3,141,632 .env.example files counted
Forty numbers on how developers write environment config files, counted on 21 November 2026.
Free for one project and 100 votes. Paid plans start with a 14 day trial, no card.
File names
Eight numbers on how many public environment example files exist, by file name.
3,141,632 files have .env.example in the name, and 166,144 have .env.production in the name.
The .env.example file leads, and it is 18.9 times as common as .env.production.
| Statistic | Number |
|---|---|
| .env.example files | 3,141,632 |
| .env.production files | 166,144 |
| .env.sample files | 97,280 |
| .env.development files | 90,496 |
| .env.template files | 64,768 |
| .env.local.example files | 56,000 |
| .env.test files | 53,376 |
| example.env files | 51,136 |
Example file
Eight numbers on the names that .env.example files list.
The name port is in 46.9 in 100 .env.example files, and smtp_host in 3.1 in 100.
Port leads, and api_key and base_url follow at about one file in three.
| Statistic | In 100 |
|---|---|
| Port | 46.9 |
| Api key | 35.1 |
| Base url | 34.9 |
| Database url | 19.8 |
| Jwt secret | 12.8 |
| Secret key | 12.7 |
| Debug | 14.7 |
| Smtp host | 3.1 |
Sample file
Eight numbers on the names that .env.sample files list.
The name port is in 48.2 in 100 .env.sample files, and smtp_host in 1.3 in 100.
Port leads, and api_key is named about three times as often as jwt_secret.
| Statistic | In 100 |
|---|---|
| Port | 48.2 |
| Api key | 22.7 |
| Base url | 14.2 |
| Database url | 8.7 |
| Debug | 8.0 |
| Jwt secret | 7.8 |
| Secret key | 11.6 |
| Smtp host | 1.3 |
Production file
Eight numbers on the names that .env.production files list.
The name base_url is in 30.4 in 100 .env.production files, and smtp_host in 2.8 in 100.
Base url and port lead, and the name api_key is in about one file in seven.
| Statistic | In 100 |
|---|---|
| Base url | 30.4 |
| Port | 24.5 |
| Api key | 13.5 |
| Database url | 8.6 |
| Jwt secret | 8.2 |
| Debug | 7.2 |
| Secret key | 6.9 |
| Smtp host | 2.8 |
Development file
Eight numbers on the names that .env.development files list.
The name port is in 24.9 in 100 .env.development files, and smtp_host in 0.8 in 100.
Port and base_url lead, and fewer than one development file in a hundred names smtp_host.
| Statistic | In 100 |
|---|---|
| Port | 24.9 |
| Base url | 23.9 |
| Api key | 6.2 |
| Debug | 5.5 |
| Database url | 5.2 |
| Jwt secret | 4.4 |
| Secret key | 3.5 |
| Smtp host | 0.8 |
What is in the file
Forty numbers in one file
Every figure sits in its own CSV row, with its group and unit alongside.
Five groups
File names, then example, sample, production and development files.
Counts, not secrets
The page holds totals and shares only, and no value from any file is shown.
Easy to cite
Use one figure or the whole set of forty, with this page named and the read date given.
How the files were counted
One code search for each file name and each setting name.
Fix the file name
Each name query was held to one file name, so every share is divided by a known total.
Match the name
One query tied a file name to a setting name, and the count of matching files came back.
Retry a partial reply
Each reply marked partial was fetched again, at most three more times, after any rate limit had cleared.
Divide in code
Code divided each name total by its file total and checked each share before printing it.
What changes between file types
No single word wins everywhere: the top place goes to port in .env.example, .env.sample and .env.development files; base url in .env.production files. The steadiest word is smtp host, holding between 0.8 and 3.1 in 100 across all four file types. The words port and base url hold a top three place in every file type, .env.sample files and .env.production files included.
The word secret key swings the most in rank, fourth in .env.sample files and seventh in .env.example files. Read across the base url row and it runs 34.9 in .env.example files, 14.2 in .env.sample, 30.4 in .env.production and 23.9 in .env.development. The clearest lead is in .env.sample files, where port stands at 48.2 in 100 against api key at 22.7.
| Word | .env.example | .env.sample | .env.production | .env.development |
|---|---|---|---|---|
| Port | 46.9 | 48.2 | 24.5 | 24.9 |
| Base url | 34.9 | 14.2 | 30.4 | 23.9 |
| Api key | 35.1 | 22.7 | 13.5 | 6.2 |
| Database url | 19.8 | 8.7 | 8.6 | 5.2 |
| Debug | 14.7 | 8.0 | 7.2 | 5.5 |
| Secret key | 12.7 | 11.6 | 6.9 | 3.5 |
| Jwt secret | 12.8 | 7.8 | 8.2 | 4.4 |
| Smtp host | 3.1 | 1.3 | 2.8 | 0.8 |
What these numbers leave out
- These are files and not projects. A file copied into many repositories counts once per copy. Popular starters can lift a share well above real use.
- Many public environment files are samples or test fixtures, so a share describes files in code and not live products.
- The match is made anywhere in the file text, so a name inside a comment counts as much as a real setting.
- The .env.example total is in the millions and the search rounds totals that large, so every share in that group is approximate.
- The search ignores some punctuation, so a name written with a dash or in capitals may be counted with the form used here.
- No filter by file age was available, so each total blends fresh files with some left alone for many years.
- Twelve more counts were read and then dropped, four file names and eight names, so that each group shows exactly eight.
- One file can contain two of these names, so summing their shares counts it twice and overstates the result.
- A file name is a habit and not a rule, so settings kept under another file name are not counted here.
- Every name searched is English, so settings written in any other language are mostly missing from these shares.
- A share shows which files list a name, and it cannot show what value that name holds in real use.
- No project, author or host is named in this page, and no value from any file is read.
- A file name search matches any name that contains the text, so .env.example also counts longer names around it.
What people ask about environment files
How many public .env.example files are there?
3,141,632 public files have .env.example in the name.
How many public .env.production files are there?
166,144 files have .env.production in the name.
How many example files list a port?
The name port is in 46.9 in 100 .env.example files.
How many example files list an api key?
The name api_key is in 35.1 in 100 .env.example files.
How many example files list a database url?
The name database_url is in 19.8 in 100 .env.example files.
How many example files list a mail host?
The name smtp_host is in 3.1 in 100 .env.example files.
How many sample files list a secret key?
The name secret_key is in 11.6 in 100 .env.sample files.
How many production files list a base url?
The name base_url is in 30.4 in 100 .env.production files.
How many production files list an api key?
The name api_key is in 13.5 in 100.
How many development files list a debug setting?
The name debug is in 5.5 in 100 .env.development files.
How many development files list a jwt secret?
The name jwt_secret is in 4.4 in 100.
May a page quote these figures?
Yes, with this page named and the read date. Every figure is one of the 40 rows in environment-file-statistics-2026-11.csv, so a reader can check it.
More files, counted
More counts from public code.
Email template file statistics, 40 numbers
Welcome, invoice and reset words in email files.
Project documentation file statistics, 40 numbers
Quickstart, install and upgrade words in doc files.
API documentation file statistics, 40 numbers
Topics and words in API documentation files.
OpenAPI file statistics, 40 numbers
Security, paging, webhooks and error codes.
Website file statistics, 40 numbers
Robots, sitemaps, app manifests and security files.
SaaS page file statistics, 40 numbers
Login, sign up, checkout and waitlist page words.
Hear what users want in their own words
Your first board is free, with one project and 100 votes. The 14 day trial of Lite or Pro needs no card.