Skip to main content

Flatten and grep JSON online

Paste JSON to flatten it into json.path = value lines, search those lines with text or a regex, or turn gron back into JSON. It runs the same logic as the Gronify CLI, in your browser: the JSON you paste is never uploaded.

Command
max lines
gronify flatten deployment.json
937 B / 2.00 MB

Nested containers, env vars and rollout steps, the kind of payload a CI log prints.

Gron output

42 lines
json = {}
json.service = "checkout-api"
json.environment = "production"
json.release = {}
json.release.version = "2026.11.3"
json.release.commit = "8f3c2a1"
json.release.deployedAt = "2026-11-18T14:02:11Z"
json.replicas = 6
json.containers = []
json.containers[0] = {}
json.containers[0].name = "api"
json.containers[0].image = "registry.example.com/checkout-api:2026.11.3"
json.containers[0].ports = []
json.containers[0].ports[0] = 8080
json.containers[0].ports[1] = 9090
json.containers[0].env = {}
json.containers[0].env.LOG_LEVEL = "info"
json.containers[0].env.DATABASE_URL = "postgres://checkout@db.internal:5432/checkout"
json.containers[0].env.FEATURE_FLAGS = "fast-refunds,split-tender"
json.containers[0].resources = {}
json.containers[0].resources.cpu = "500m"
json.containers[0].resources.memory = "1Gi"
json.containers[1] = {}
json.containers[1].name = "sidecar-proxy"
json.containers[1].image = "registry.example.com/envoy:1.31.2"
json.containers[1].ports = []
json.containers[1].ports[0] = 15001
json.containers[1].env = {}
json.containers[1].resources = {}
json.containers[1].resources.cpu = "100m"
json.containers[1].resources.memory = "128Mi"
json.healthCheck = {}
json.healthCheck.path = "/healthz"
json.healthCheck.intervalSeconds = 10
json.healthCheck.timeoutSeconds = 2
json.rollout = {}
json.rollout.strategy = "canary"
json.rollout.steps = []
json.rollout.steps[0] = 10
json.rollout.steps[1] = 50
json.rollout.steps[2] = 100
json.rollout.autoPromote = false

Same output as the CLI

The playground is a browser port of gronify 1.4.0. The output panel shows what the CLI prints to stdout for the command above, and the notes under it are what it prints to stderr. Numbers stay as written (12345678901234567890, 1.10), --sort orders keys by UTF-16 code unit, --stream reads JSON Lines (NDJSON), and invalid JSON is reported with its byte offset, line, and column.

When to install it instead

The playground takes up to 2 MB. The CLI streams files of any size from disk or a pipe, stops reading early with -m and --limit, and fits in a shell pipeline. Install it with npm install -g gronify, or run it once with npx gronify.

Try it on your own JSON.

Gronify is open source and MIT licensed. Install it with npm or Homebrew, or read the source first.

Install GronifyView the repository