OpenToolDesk.
English
Utilities

JSON key sorter

Sort object keys throughout JSON while keeping array order.

JSON key sorter settings

Upload a file

Drag and drop files here

JSON · TXT

One file · 1 MB per file

Imported text must use UTF-8 and contain no more than 12,000 characters.

Use a direct public file link up to 20 MB, or the smaller limit shown above. The download service retrieves the file; sign-in links are not supported.

    or

    JSON input

    Paste text or upload a file. If you select a file, it takes priority.

    JSON key sorter

    Make JSON objects easier to compare by arranging their keys consistently throughout the structure. Array elements retain their original sequence. Use the result for reading and review while keeping a copy of the original data.

    How to use this tool

    1. Choose a file, drag it into the upload area, import a public file URL, or paste your text below the upload options.
    2. Review the settings and create your result.
    3. Download and check the output before using it.

    Supported input formats

    • JSON
    • TXT

    Output and limitations

    Sort object keys throughout JSON while keeping array order.

    Sorts text keys recursively. Integer-like keys follow JavaScript numeric ordering. This is not cryptographic JSON canonicalization. Quote large numeric identifiers; maximum nesting depth is 30.

    Where are my files processed?

    Selected files are processed in your browser. Importing a URL uses the download service to retrieve the remote file.

    What if processing fails?

    Check the supported formats and file limits, then try a smaller file. Keep an original copy. A clear error message will explain an unsupported input or an unavailable processing service.