Format JSON Online logoMobile Menu

Create Fake JSON Data

Free Online Dummy JSON Generator for Testing

Generate fake JSON for testing with our free Dummy JSON tool. Customizable for developers.

Person

A simple person object with basic information

{
  "id": 1,
  "firstName": "John",
  "lastName": "Doe",
  "email": "john.doe@example.com",
  "phone": "+1-555-123-4567",
  "address": {
    "street": "123 Main St",
    "city": "Anytown",
    "state": "CA",
    "zipCode": "12345",
    "country": "USA"
  },
  "dateOfBirth": "1990-01-01",
  "isActive": true
}
Use the DummyJSON REST API to fetch placeholder JSON data for your projects. It's perfect for testing, prototyping, or learning without setting up a backend. Below are examples of common API endpoints and how to use them.

Rest Api GET

:

http://formatjsononline.com/api/person

How to Use Dummy JSON

These sample JSON objects can be used for various testing and development purposes:

  • Testing API integrations
  • Populating UI components with sample data
  • Practicing JSON parsing and manipulation
  • Creating documentation examples
  • Testing JSON validation tools

Simply click the "Copy" button next to any example to copy it to your clipboard, then paste it into your application or tool.

Frequently Asked Questions

What is Dummy JSON used for?

Dummy JSON provides sample JSON data that can be used for testing applications, populating UI components with sample data, practicing JSON parsing and manipulation, creating documentation examples, and testing JSON validation tools.

How do I use the Dummy JSON examples?

Simply click on the example category you need (Person, People Array, Product, etc.), then click the 'Copy' button to copy the JSON to your clipboard. You can then paste it into your application, API testing tool, or any other place you need sample JSON data.

Can I modify the Dummy JSON examples?

Yes, after copying the examples, you can modify them as needed for your specific use case. The examples are provided as starting points that you can customize to match your application's data structure requirements.

Are these examples valid JSON?

Yes, all the examples provided are valid JSON that follows the correct syntax. They have been carefully created to ensure they can be parsed by any standard JSON parser without errors.

Do you have examples for specific data types?

Yes, we provide a variety of examples covering different data structures and use cases, including single objects, arrays of objects, nested structures, and complex data types like products, orders, and configurations.

Ready to Get Started?

Choose from our suite of JSON tools to start processing your data right away.