Developer

What is JSON? A Beginner's Guide

June 12, 2026 · By Toolzy Team

JSON in one sentence

JSON (JavaScript Object Notation) is a lightweight, human-readable format for storing and exchanging data.

The building blocks

  • Objects { } hold key–value pairs
  • Arrays [ ] hold ordered lists
  • Values can be strings, numbers, booleans, null, objects or arrays
{
  "name": "Toolzy",
  "tools": 100,
  "free": true
}

Common mistakes

  • Trailing commas are not allowed
  • Keys must use double quotes
  • No comments permitted

Paste your JSON into the JSON Formatter to beautify it and catch errors instantly.

Try the tool

JSON Formatter →

More Articles

PDF

How to Redact a PDF Properly (and Why Black Boxes Usually Fail)

Drawing a black rectangle over text in a PDF hides nothing, the words underneath are still there and can be copied straight out. Here is how redaction actually works, what US and UK rules require, and how to remove the content for good.

Image

How to Compress Images Without Losing Quality

Learn the difference between lossy and lossless compression and how to shrink images by up to 80% while keeping them crisp.

Image

PNG vs JPG: Which Format Should You Use?

A clear, practical guide to choosing between PNG and JPG for the web, print and everything in between.