JSONGenerator
GeneratorSchemaConvertersExamplesDocs

JSONGenerator

Free online tools for generating random JSON data and JSON Schemas.

Quick Links

  • JSON Generator
  • JSON Schema Converter
  • Examples
  • Docs
  • Blog
  • About
  • Contact
  • Privacy Policy

Converters

  • JSON to YAML
  • YAML to JSON
  • XML to JSON
  • JSON to XML
  • JSON to TOML
  • TOML to JSON
  • JSON to CSV
  • CSV to JSON
  • JSON to Excel
  • Excel to JSON
  • JSON to HTML table
  • JSON to TypeScript
  • JSON to C#
  • JSON to Go
  • JSON to Java
  • JSON to SQL

Support

Having issues? Contact us.

© 2026 JSON Generator. All rights reserved.

Sample employee directory JSON data

This template produces 8 employee records. Each has a four-digit ID between 1000 and 9999, a full name with a middle name, a job title, a job area, a job type, a department, a company name and a website. The IDs are random, so two records can occasionally share one.

Open in JSON Generator

Template

Paste this into the JSON Generator to produce data like the sample below.

{
  "employees": [
    "repeat(8)",
    {
      "id": "int(1000,9999)",
      "name": "firstName() middleName() lastName()",
      "title": "jobTitle()",
      "area": "jobArea()",
      "type": "jobType()",
      "department": "department()",
      "company": "companyName()",
      "website": "url()"
    }
  ]
}

Fields

Fields in the Sample employee directory JSON data template and what each one generates
FieldTemplateWhat it generates
employees[]repeat(8)An array of 8 items
employees[].idint(1000,9999)
  • int(): Generates a random integer value.
employees[].namefirstName() middleName() lastName()
  • firstName(): Generates a random first name.
  • middleName(): Generates a random middle name.
  • lastName(): Generates a random last name.
employees[].titlejobTitle()
  • jobTitle(): Generates a random job title.
employees[].areajobArea()
  • jobArea(): Generates a random job area.
employees[].typejobType()
  • jobType(): Generates a random job type.
employees[].departmentdepartment()
  • department(): Generates a random department name.
employees[].companycompanyName()
  • companyName(): Generates a random company name.
employees[].websiteurl()
  • url(): Generates a random URL.

Sample output

The first 2 items of each list from one run of the template. Every click on Generate produces new data.

{
  "employees": [
    {
      "id": 9522,
      "name": "Maximillia Karma Senger",
      "title": "Senior Tactics Strategist",
      "area": "Configuration",
      "type": "Administrator",
      "department": "Home",
      "company": "Nienow - Huel",
      "website": "https://naughty-ice-cream.com"
    },
    {
      "id": 1996,
      "name": "Bernice Devine Morar",
      "title": "Principal Factors Architect",
      "area": "Response",
      "type": "Designer",
      "department": "Beauty",
      "company": "Olson, Corwin and Durgan",
      "website": "https://key-mallard.net/"
    }
  ]
}

Use cases

  • Fill an org chart, people directory or HR dashboard prototype.
  • Test search and sort on names, titles and departments.
  • Seed a development database for an internal tool.
  • Check how a table copes with long job titles and company names.

Related

More sample data: User profiles, E-commerce orders, Product catalog, Addresses, Flight bookings, Network logs.

See the template tag reference for every tag, browse all examples, or turn your generated data into a contract with the JSON Schema Generator.