Mock Magic · Free tool

Fake data generator

Generate test values for forms, tables, profiles and API mocks: choose one of 57 data types, set a count and a seed, then copy single values, the whole list, or an export as text, CSV, JSON or a C# array. Everything runs in your browser with the generators and data lists of Mock Magic's Values workspace.

Choose data

Generated values

10 values · Name · seed 2026

    Export

    The 11 categories

    Mock Magic's Generator window sorts the 57 types into 11 categories, and the list above uses the same order and descriptions. The search field works like the Generator's: every word you type must appear in a type's name, category, description or search keywords, so UUID finds GUID, surname finds Last Name and test card finds Credit Card.

    Business
    Invented company names such as Copperline Logistics, job titles, product names without brand names, prices from $0.99 to $999.99, star ratings from 1.0 to 5.0 that lean toward good scores, and domain names such as pixelforge.io.
    Contact
    E-mail addresses, phone numbers with North American numbering such as +1 (415) 555-0142, street addresses, full US addresses whose city, state and ZIP code belong together, US and international cities, US states, countries and five-digit ZIP codes.
    Date & Time
    Dates as yyyy-MM-dd from 2021 to 2026, times as HH:mm:ss, both together, and Unix timestamps in seconds within a year of 1 January 2026, the date Stable mode in the Generator counts from.
    Location
    Latitudes from -90 to 90 and longitudes from -180 to 180 with six decimals, and coordinates as a (latitude, longitude) pair with two decimals.
    Miscellaneous
    Animal names, from Dog and Cat to Octopus and Hummingbird.
    Numbers
    Integers from 0 to 99, decimals and percentages from 0 to 100 with two decimals, currency amounts from 0 to 10,000 with two decimals and no symbol, and True or False.
    Personal
    Full, first and last names from many regions, including accented, hyphenated and multi-word names, honorifics such as Dr. and Mrs., ages from 18 to 85 that cluster around 38, usernames such as swiftsofia42, and 12-character passwords with at least one upper case letter, lower case letter, digit and symbol.
    Sensitive
    Credit card numbers, SSN-style numbers and ISBN-13 numbers, all made up. The next section explains which checks they pass.
    Technical
    GUIDs, IDs that count up from 1, URLs, IPv4 and MAC addresses, version numbers such as 2.4.1, file names such as report_2024.pdf, browser user agents and 40-character hexadecimal hashes.
    Text
    Lorem ipsum words, sentences of 5 to 15 words, paragraphs of five sentences, 50-word lorem ipsum blocks, hashtags such as #gamedev, tech-themed hacker phrases and short product reviews.
    Visual
    Color names, hex colors such as #3FA2C8, emoji and placeholder image URLs from picsum.photos at 640 by 480 pixels.

    Card numbers, SSNs and ISBNs

    Credit Card values pass the Luhn check that payment forms and validation libraries run first. They use four prefix styles: Visa-style numbers start with 4, Mastercard-style numbers with 51 to 55 and Discover-style numbers with 6011, all with 16 digits, and American Express-style numbers start with 37 and have 15 digits.

    ISBN values are ISBN-13 numbers that start with 978 and end in a correct check digit, written as 978-0-12345-678-6. SSN values only have the shape of a US Social Security number, ###-##-####, without further rules.

    No bank issued these numbers. They are for testing input validation, formatting, masking and layouts. To test a payment flow end to end, use the test card numbers your payment provider publishes, such as Stripe's test cards. The use case fake credit card numbers for testing goes into more detail.

    Limits to know

    • Contact data is US-style: addresses, ZIP codes, states and +1 phone numbers follow US conventions. Only the City and Country types include places outside the US.
    • E-mail addresses use real mail providers: the domains are common ones such as gmail.com and outlook.com, so a generated address can exist. Do not send mail to them.
    • Latitude and longitude: they show six decimals but keep the seven significant digits of a single-precision float, as in Unity, so values of 10 or more end in one or two zeros.

    Export formats

    The four formats match Mock Magic's export of a value list, so files from this page and from the Generator window look the same:

    • Text: one numbered line per value, starting at 1.
    • CSV: an Index,Value header and one row per value. The index starts at 0, and each value is in double quotes, with quotes inside it doubled.
    • JSON: a single-line array of strings, with quotes, backslashes, tabs and line breaks escaped.
    • C# Code: a string[] initializer with one value per line, named after the C# variable you enter. A name that is not a valid C# identifier falls back to mockData, as in the Generator window. Download saves MockData.cs, which wraps the array in a public static class MockData as a public static readonly field, so the file compiles on its own, like Save to File in the Generator.

    Copy All copies the plain values, one per line, and the Copy button in each row copies a single value. The export use case shows where each format fits.

    The same data inside Unity

    Mock Magic is a free Unity tool that generates these values in the Editor and at runtime. Open Tools > Mock Magic > Generator and stay on Values for the same list, search, count and export. Choose Stable under Randomness to work with a seed; Stable also counts dates from 1 January 2026, as this page does. From code, call the same generators:

    using MockMagic;
    
    Mock.Seed(2026);
    string[] emails = Mock.Generate(SimpleDataType.Email, 10);
    string email = Mock.Email();
    
    string csv = MockExport.ToCsv(emails);

    Mock.Seed makes the values repeat on every run in Unity, and Mock.UseDateReference(new DateTime(2026, 1, 1)) pins dates as well. Unity uses a different random number generator than this page, so formats and data lists match while the individual values differ.

    For content in lists, tables and profile screens, see realistic test data for UI. For chart data with trends, seasons and noise, use the chart data generator.

    Questions

    Is the data uploaded or stored anywhere?

    No. The values are generated in your browser. Nothing is sent to a server, and the page keeps no copy after you close it.

    Can I get exactly the same data again?

    Yes. The same data type, count and seed always produce the same values on this page, on any day: like Stable mode in Mock Magic's Generator, dates and timestamps count from 1 January 2026. Select New seed for a different set.

    Does Mock Magic in Unity produce the same values?

    It uses the same formats and the same data lists, because this page ports Mock Magic's generators. The random number generator differs from Unity's System.Random, so values differ from Unity for the same seed while formats and data sets match.

    Are the credit card numbers real?

    No. They are random digits with a valid Luhn check digit and a Visa-style, Mastercard-style, American Express-style or Discover-style prefix, and no bank issued them. Use them to test validation, masking and layouts, and use your payment provider's test cards to test payments.

    Generate values, series and live streams inside Unity

    Mock Magic is free on the Asset Store with full source code: these 57 value types, 15 series patterns and live streams, in the Editor or from code.