JSON Array Sorter

Sort an array of objects by a top-level field.

How to use JSON Array Sorter

Sort an array of objects by a top-level field.

  1. Select Load example or paste your own test input.
  2. Choose Run and review the available options.
  3. Run the selected action; review any validation message.
  4. Inspect the output before copying, printing or downloading it.

A small example

Input:
[{"name":"Zoe","score":3},{"name":"Ana","score":1}]

Example output:
[
  {
    "name": "Ana",
    "score": 1
  },
  {
    "name": "Zoe",
    "score": 3
  }
]

When the result looks wrong

Use a top-level field present in your array objects. Check mixed or missing values and large numeric identifiers before relying on order.

Questions about JSON Array Sorter

Is my input uploaded?

File and text processing runs in your browser. Opening the website still loads application assets from its host.

What if the result looks wrong?

Use a top-level field present in your array objects. Check mixed or missing values and large numeric identifiers before relying on order.

Can I use sensitive production data?

Prefer non-sensitive test data. Never paste live access tokens, passwords or confidential documents into a site without assessing its code and environment.

Explore all tools

Browse all tool categories

Supported input and output

Text input; check the selected action and example for the expected syntax.

See the result panel and available copy or download controls for the selected action.

Related Data / CSV tools

Browse Data / CSV tools