Handy Orchard

SPDX expression syntax checker

Parse SPDX license expressions and inspect their syntax tree.

Your input

Outputs are cleared when the input changes.

Result

Enter your data or use the example, then run the tool.

Worked example

The sample shows an OR choice with a grouped AND combination. Try GPL-2.0-only WITH Classpath-exception-2.0 for an exception node.

Method

spdx-expression-parse scans identifiers/operators and creates its actual syntax tree. The bundled license ID and exception list versions are shown. SPDX is a Linux Foundation project; no endorsement is implied.

Limits

Expression ≤5,000 characters / 100 parentheses, tree depth ≤60. Syntax/identifier checking only: no legal suitability, compatibility, compliance or license recommendation. The fixed registry may omit newer IDs and this parser is not a complete SPDX document validator.

All work stays in this browser. Each disposable worker is terminated after 2.5 seconds or cancellation. Inputs and processing logs are not sent to analytics.

Sources

Pinned sourceThird-party notices

Related tools

JSON Pointer explorerJSON Schema checkerSemVer range tester

Your inputs stay on this device. Only optional, consented page visits are measured. Input values, files, filenames and processing logs are not sent to Analytics.

When switching languages, text, settings and selected files are temporarily kept on this device. Transfers are removed after restoring; interrupted transfers are cleaned up on a later visit. Inputs and files are never uploaded.