Free fake data generator for Unity

Realistic fake data for Unity, from one value to a live stream.

Free fake data generator for Unity: realistic values in 76 locales, chart-ready series and live streams in the Editor or at runtime, with seeds and CSV, JSON or C# export.

Mock Magic logo
57 value types in 76 locales

Names, e-mail addresses, prices, dates, GUIDs, IP addresses, reviews and Luhn-valid test card numbers, with native scripts and regional formats, up to 1,000 at a time.

15 series patterns for charts

Trends, seasons, random walks, bell curves and sparse data with labels, value ranges, noise and up to 10 series, previewed before you copy or export.

Live streams without a backend

Feed dashboards and listeners with constant, random, burst or drip updates on game time, real time or manual steps, in Edit Mode or Play Mode.

“This tool has TONS of categories for data generation, and it's very easy to use!”
trueicecold
“…other mocking libraries look so bad after using this one, and it's free!”
yonatanab1
What it gives you

Build the screen before the data exists.

Lists, charts, dashboards and tests need content long before servers, players or customers provide it. Mock Magic generates believable values, series and live streams inside Unity, repeatable with a seed, so you design and test with realistic data instead of typing placeholders.

01

Values in seconds

Search 57 data types by everyday words such as surname, postal code or test card, set a count from 1 to 1,000 and copy one value or the whole list.

02

76 data locales

Choose a Data locale in the Generator or wrap code in Mock.LocaleScope: names keep their native script and order, and addresses, phone numbers and month labels follow the region where the data exists. Each profile reports its coverage per type.

03

Records that belong together

MockPerson.New() returns people whose name, e-mail address, username, age and birth date agree, and MockOf<T> fills lists of your own classes through explicit setters instead of reflection.

04

Series for charts

Choose from 15 patterns and 17 label presets, then set 3 to 1,000 points, 1 to 10 series, a value range and noise. The preview shows every series before you copy or export it.

05

Live streams

Emit points in constant, random, burst or drip rhythms on game time, unscaled time, real time or manual steps. Patterns continue from one emission to the next, and the event log shows every point.

06

The same data on every run

Stable mode in the Generator and Mock.Seed in code return identical values, and a fixed date reference keeps generated dates and birth dates stable for tests and screenshots.

07

Templates and your own types

Build order numbers and codes with {{tokens}} and #, ? or * masks, and register your own tokens for data from your game.

08

Test numbers for forms

Credit card numbers pass the Luhn check, ISBN-13 values have valid check digits, SSN-style values use the US format, and phone numbers follow the data locale. All of them are fake.

09

Export anywhere

Copy or save values and series as CSV, JSON, plain text or C# array code for fixtures, spreadsheets and tests.

10

Skills for coding assistants

Six included skills teach coding assistants such as Codex and Claude Code to generate data with the Mock Magic API instead of typing fake values by hand.

11

Charts with Chart Guru

Chart Guru includes Mock Magic. Its Mock Chart Data Source component fills a chart with generated series or a live stream until your real data source is ready.

Use cases

Pick the job. See how it works.

Each guide takes one everyday job, shows the steps in the Generator or in code, and what you get back.

Fill Unity UI with realistic test data

Rows named Test 1 and Test 2 hide the layout bugs that real data exposes. Generate believable names, e-mail addresses, prices and dates in the Editor or at runtime, including records with missing fields.

Test localized UI with fake data in 76 locales

Localized UI breaks on long place names, family-name-first order, right-to-left text and local address formats. Generate that data from 76 locale profiles in the Editor or in code, and check what each profile covers.

Test charts and dashboards with patterned data

A chart that has only seen tidy numbers is untested. Generate labeled series in 15 shapes, with noise, negative ranges and up to 10 series at once, preview them in the Editor, then export them or feed them to a chart.

Reproducible fake data for Unity tests

Random test data only helps when a failure can be repeated. Seed Mock Magic, pin the date it counts from, keep IDs predictable, and return to fresh random output when the test ends.

Simulate live data in Unity without a backend

Build the live parts of a UI before the server exists. Mock Magic sends labeled values that continue their pattern to your listeners on a schedule you choose, in Edit Mode or Play Mode, so bursts, gaps and pauses show up early.

Simulate sensor telemetry for a Unity digital twin

Build the twin before the hardware talks to it. Stream live readings per sensor inside Unity with jitter, drift, cycles, faults, irregular timing and batched uploads, and draw histories that the live values continue.

Fake credit card numbers for testing checkout forms

Test a card form's input mask, validation and layout with Luhn-valid numbers that no bank issued, generated in the Editor or in code, and use your payment provider's own test cards for anything that reaches the gateway.

Export fake data as CSV, JSON or C# arrays

Mock Magic's Export panel and the MockExport class write generated values and series as text, CSV, JSON or C# arrays. Exact samples of each format, how numbers are written and where each format fits.

Mock leaderboards, chat logs and shop reviews

Fill leaderboards, chat panels, shop pages and social feeds with generated usernames, scores, messages, prices, ratings and reviews, including the ties, long names and empty states that break layouts.

Templates and custom data types

Mock.Format fills masks such as ORD-#####, Mock.Parse fills {{token}} templates from 58 built-in tokens, and RegisterToken, RegisterGenerator and MockLocales.Register add your own, from loot names and typed values to whole project locale profiles.

Generate test data with a coding assistant

Six Markdown skills in Mock Magic's AI/Skills folder show Claude Code, Codex and other coding assistants how to write a few lines of generator code against the real API instead of pasting hand-typed fake data into your project.

Generate names and text at runtime

What Mock Magic's name, username, e-mail, place and filler text generators return in the Default profile and in 76 regional locale profiles, how large the pools are, and when a dedicated name generator fits better.
All Mock Magic use cases
How it compares

Fake data where your Unity project already is.

Bogus is the established C# fake data library and Mockaroo the best-known online generator. Mock Magic is the free choice built for Unity: values in more locales than Bogus, plus chart series and live streams, in the Editor and at runtime.

CapabilityMock MagicBogusMockarooAI chat
Works in the Unity EditorYesGenerator window and runtime APIPartlyC# library, no Editor windowNoBrowser, then import the filesNoCopy answers from a chat
Realistic valuesYes57 types in 11 categoriesYesLarge catalog of data setsYesLarge catalog of field typesPartlyAnything you describe, checked by you
Languages and regionsYes76 locale profiles, native scriptsYes50 localesNoNo locale setting documentedYesAny language you ask for
Chart-ready seriesYes15 patterns, labels, noise, up to 10 seriesNoWrite the loops yourselfPartlyNormal distribution and formulasPartlySmall tables on request
Live data streamsYes4 rhythms and 4 clocks, Edit and Play ModeNoNot includedPartlyMock APIs answer requestsNoNot included
Same data on every runYesStable mode, seeds and a date referenceYesSeeds and a date referencePartlyNo seed setting documented, reuse saved filesNoAnswers change between requests
ExportYesCSV, JSON, text and C# arraysPartlyObjects in code, serialize them yourselfYesCSV, JSON, SQL, XML and morePartlyText you paste into files
VolumeYes1,000 per batch in the Generator, any amount in codeYesAny amount in codePartly1,000 rows per file free, more on paid plansPartlyLong lists are slow to generate
PriceYesFree, with full source codeYesFree, MIT licensePartlyFree tier, paid plans from US$60 a yearPartlyDepends on your assistant plan

Facts about other products come from their own documentation, pricing pages and forums, checked November 11, 2026. AI chat means asking a general chat assistant to write the data for you.

From the developer

Articles and field notes

All articles
Questions

Frequently asked questions

Is Mock Magic free?

Yes. Mock Magic is free on the Unity Asset Store and includes its full source code. Chart Guru includes it as well, so Chart Guru owners already have it.

How do I generate fake data in Unity?

Open Tools > Mock Magic > Generator, pick a data type such as Name or Email in the Values workspace, set the count and copy the results. In code, call Mock.Name(), Mock.Email() or Mock.Generate(SimpleDataType.Email) in Edit Mode, Play Mode or a build.

Can I get the same data every time?

Yes. Switch the Generator to Stable, or call Mock.Seed(42) in code, and Mock Magic returns the same values on every run. Mock.UseDateReference fixes the date that generated dates are based on, and Mock.ResetSeed() returns to random output.

Does it work at runtime and in builds?

Yes. The runtime API has no Editor dependency, so the same calls work in Play Mode and in player builds. Typed objects are filled through setters you write instead of reflection mapping.

Which data types are included?

57 types in 11 categories, from names, usernames, e-mail addresses, phone numbers and addresses to companies, prices, ratings, dates, lorem ipsum, reviews, colors, emoji, GUIDs, URLs, IP and MAC addresses, user agents, hashes and fake test numbers.

Are the credit card numbers real?

No. They are random numbers with Visa, Mastercard, American Express and Discover style prefixes that pass the Luhn check, so form validation accepts them. No bank issued them, and they are meant for testing input fields, validation and layout. To test a payment gateway, use your payment provider's official test cards.

Can I add my own data types?

Yes. Register a token with Mock.RegisterToken and use it in templates such as Mock.Parse("Welcome aboard {{spaceship}}!"). Your token can return anything, such as item names from your game or values from another library.

Does Mock Magic support other languages and regions?

Yes. 76 locale profiles, from German and Japanese to Arabic and Brazilian Portuguese, give names in their native script and order, regional addresses and phone formats, and translated month and weekday labels where the source data exists. Pick one in the Generator's Data locale field or with Mock.LocaleScope in code; every profile reports its coverage per data type.

How does Mock Magic work with Chart Guru?

Chart Guru includes Mock Magic. Add the Mock Chart Data Source component to fill a chart with a generated series or a live stream, then swap in your real data source later.

Can coding assistants use Mock Magic?

Yes. Mock Magic ships six skills that explain its API to coding assistants such as Codex and Claude Code, covering values, typed objects, series, streams and export.

Ready when you are

Fill your next screen with realistic data.

Free on the Asset Store with full source code, and included with Chart Guru.