Sort JSON Array

Sort a JSON array by a value selected with a JSON Pointer.

Convert in your browser · No sign-up

All selected values must exist and share the same number or string type. Strings use English natural order; equal values retain their order.

Up to 100,000 UTF-16 units per input and 1,000,000 per result. See the supported formats and examples below.

How to use

  1. Sort a JSON array by a value selected with a JSON Pointer.
  2. Choose the mode or options, then run the tool.
  3. Review the result, then copy or download the TXT file.

Example

[{"n":10},{"n":2}] /n → [{"n":2},{"n":10}]

Details and limitations

All selected values must exist and share the same number or string type. Strings use English natural order; equal values retain their order.

Text stays in your browser; it is not sent to a conversion server.

FAQ

Sort JSON Array — What are the supported inputs and limits?

All selected values must exist and share the same number or string type. Strings use English natural order; equal values retain their order.

Format references

Tool page updated: