Array Generator
Build a numeric range, random integers or floats, a repeated value, an index formula, a letter run or a date series — exported as a JSON / JS / Python / PHP / CSV / SQL array, live, with stats and a per-item breakdown.
What this tool does
It builds an array from one of several recipes — a numeric range, random integers or floats, a repeated value, an expression evaluated per index, a run of letters, or a series of dates — and serialises it in the format you pick. Everything updates as you type.
Recipes
Range walks from a start to an end by a step (the
step may be negative or fractional). Random integers
and random floats draw count values between a
minimum and maximum, optionally unique and optionally from a seeded
generator so the result is reproducible. Repeat fills
the array with one value parsed as JSON. Formula
evaluates a JavaScript expression with i (the 0-based
index) and n (the count) available. Letters
produces an alphabetical run. Dates steps a number of
days from a start date.
Output formats
JSON (compact or pretty), a JavaScript or TypeScript literal with an
optional const name = wrapper, a Python list, a PHP array,
CSV or TSV on one row, a newline-separated list, a Set
literal, or SQL VALUES rows.
Privacy
Generation happens in your browser. Nothing is sent to a server.