Test Numeric Generator — Dummy Integers and Decimals for Fixtures
Generate synthetic integers and decimals for databases, fixtures, and form tests. Not a lottery, die, or cryptographic RNG; not a live identifier; not a phone number.
How generation works
Pick a quantity (1–100), kind, range, format, and order. Changing an option refreshes the list immediately. Copy all or download JSON, CSV, SQL, or TXT. Raw decimals use a dot and exact scale — never 0.1+0.2 drift.
Options
Examples
Default surrogate keys
Settings
Sample output
Money without a currency glyph
Settings
Sample output
Related tools
Need matching field columns or a JSON table? Try the test email generator, test date generator, test name generator, or JSON test data generator. Need an identifier instead? Use the UUID generator or NanoID generator.
Test numeric FAQ
Fixtures, INT/DECIMAL, and what this tool is not
I searched for a random number generator. Is this it?
If you need dummy integers and decimals for fixtures, DB seed, and form QA, yes. If you want lottery balls, dice, or a lucky pick, this page will not do that — it generates a pasteable list for developers.
Can I get a random integer or use this as a decimal generator?
Yes: kind=integer (default) for INT columns, kind=decimal for DECIMAL/NUMERIC with 0–6 places (default 2). Output is synthetic fixture numbers, not a statistical sampler or scientific calculator.
Is this a lottery tool or a CSPRNG?
No. There is no raffle, no cryptographic randomness, and no seed knob. Draws use a uniform house RNG for fixtures. Do not use the list for gambling, secrets, or payment cards.
I wanted a test number generator — are these phone numbers?
No. This page emits integers and decimals only (id, qty, price, port). For dummy phone numbers, use the test phone number generator. Unique order means unique in this list, not a live identifier like a UUID.
Test Data
Synthetic field values for fixtures and DB seed — reserved-range phone numbers first.
Explore other tool categories
Minify
Shrink code and assets for production — minify JavaScript, CSS, HTML, JSON and XML before gzip or CDN deploy.
Beautify
Make code readable with consistent indentation — beautify JavaScript, CSS, TypeScript, SCSS, LESS, Markdown, GraphQL, SQL, YAML and more in your browser.
Unminify
Expand minified or compressed code — unminify JavaScript, CSS, TypeScript, SCSS, LESS, SQL, YAML and other formats when debugging or reviewing.
Conversion
Transform data between JSON, YAML, XML and CSV locally — no server uploads.
CSS preprocessors
Compile SCSS or LESS to standard CSS in the browser — pair with beautify or minify for a full stylesheet workflow.
JSON Tools
Validate, format, diff and explore JSON payloads — complementary to minifiers and converters.
SVG Tools
Preview, optimize with SVGO, export Data URI, resize, beautify, convert to JSX and validate SVG — all in your browser.
DevOps & Infra
Terraform HCL format/validate/minify, Dockerfile format & lint, Docker Compose and .env validation.
CI/CD
GitHub Actions and GitLab CI — format YAML and check workflow/job structure in your browser.
Logs & observability
Line-oriented JSON/NDJSON and Nginx/Apache access logs — format, filter, validate, and CSV/TSV.
Kubernetes
Multi-doc manifests, structural validate, Ingress/Deployment starters, and Helm values formatting.
Networking / IP
CIDR, subnets, and IPv4/IPv6 helpers — in your browser.
Security & tokens
JWKS, X.509 certificates, and secrets scan — browser-local.
API & schemas
OpenAPI tools to format, validate, and lint your specs.
Encoding
Encode or decode Base64, URL components and HTML entities — client-side only.
Developer utilities
Timestamps, UUID, ULID, Nanoid, cron, passwords, regex, slugify, number bases, case, text diff, and chmod — all client-side.
Text & Markdown
Count words, build Markdown TOCs, and clean line lists — all in your browser.
AI & LLM
Token counting, pricing estimates, and context-window fit — 100% browser-local.
Serialization
Serialize and deserialize PHP data structures beside JSON workflows.