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 network log JSON data

This template produces 20 request log entries. Each entry has a unique ID, a timestamp in 2025, an IPv4 and an IPv6 client address, a host, a URL, an HTTP method (GET, POST, PUT or DELETE), a status code (200, 201, 301, 400, 404 or 500) and a latency between 5 and 1500 milliseconds.

Open in JSON Generator

Template

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

{
  "logs": [
    "repeat(20)",
    {
      "id": "guid()",
      "timestamp": "date(2025-01-01, 2025-12-31)",
      "clientIp": "ipv4()",
      "clientIpv6": "ipv6()",
      "host": "domainName()",
      "url": "url()",
      "method": "enum(GET, POST, PUT, DELETE)",
      "status": "enum(200, 201, 301, 400, 404, 500)",
      "latencyMs": "int(5,1500)"
    }
  ]
}

Fields

Fields in the Sample network log JSON data template and what each one generates
FieldTemplateWhat it generates
logs[]repeat(20)An array of 20 items
logs[].idguid()
  • guid(): Generates a globally unique identifier ( UUID v4).
logs[].timestampdate(2025-01-01, 2025-12-31)
  • date(): Generates a random date.
logs[].clientIpipv4()
  • ipv4(): Generates a random IPv4 address.
logs[].clientIpv6ipv6()
  • ipv6(): Generates a random IPv6 address.
logs[].hostdomainName()
  • domainName(): Generates a random domain name.
logs[].urlurl()
  • url(): Generates a random URL.
logs[].methodenum(GET, POST, PUT, DELETE)
  • enum(): Generates a random value from the list of arguments.
logs[].statusenum(200, 201, 301, 400, 404, 500)
  • enum(): Generates a random value from the list of arguments.
logs[].latencyMsint(5,1500)
  • int(): Generates a random integer value.

Sample output

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

{
  "logs": [
    {
      "id": "614d2c73-d1e5-425a-992d-30524f3e23fd",
      "timestamp": "2025-10-07T16:12:37.472Z",
      "clientIp": "128.100.3.137",
      "clientIpv6": "74e4:8cf2:adfb:fdba:3d47:e5fe:52f7:0a2d",
      "host": "inborn-pleasure.org",
      "url": "https://well-off-blossom.com",
      "method": "DELETE",
      "status": 301,
      "latencyMs": 457
    },
    {
      "id": "5948a3d0-ba65-4f25-9912-8de47f314c80",
      "timestamp": "2025-11-29T21:18:07.147Z",
      "clientIp": "31.61.102.98",
      "clientIpv6": "4356:9c76:c5e5:d940:1415:14c4:b9ee:ce89",
      "host": "mundane-challenge.org",
      "url": "https://pastel-nephew.biz",
      "method": "PUT",
      "status": 200,
      "latencyMs": 329
    }
  ]
}

Use cases

  • Try out a log viewer, table or chart with data that has a mix of status codes.
  • Test filters on method, status code or latency.
  • Check log parsing and ingestion code without using production traffic.
  • Produce screenshots for monitoring or analytics documentation.

Related

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

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