← All files

SPDX HEADERS

Machine-readable copyright and license lines for every source file, in SPDX form.

[ DOWNLOAD ][ MARKDOWN ][ SOURCE ]

Two lines — SPDX-FileCopyrightText and SPDX-License-Identifier — that state ownership and license in a form tools can read. The approach used by the REUSE initiative.

USE

  • Put both lines at the top of every file, in the language’s comment syntax.
  • Use identifiers from the SPDX License List; expressions such as MIT OR Apache-2.0 are allowed.

NOTES

  • Works well with license scanners and package metadata.
  • The REUSE specification builds on this per-file approach.

SOURCE

SPDX license identifiers: https://spdx.dev/learn/handling-license-info/ SPDX License List: https://spdx.org/licenses/ REUSE specification: https://reuse.software/spec/

FULL TEXT

[ DOWNLOAD ]
SPDX FILE HEADERS
=================
Version 1.0 — 2026-10-17

Machine-readable copyright and licence statements, maintained by the SPDX
project and used by the REUSE initiative. These two lines replace informal
per-file notices and are understood by scanners and package tooling.

COPY-PASTE
----------
SPDX-FileCopyrightText: <year> <name>
SPDX-License-Identifier: <license expression>

EXAMPLES
--------
SPDX-FileCopyrightText: 2026 Verlintas
SPDX-License-Identifier: MIT

SPDX-FileCopyrightText: 2026 Verlintas
SPDX-License-Identifier: Apache-2.0

SPDX-FileCopyrightText: 2026 Verlintas
SPDX-License-Identifier: GPL-3.0-or-later

NOTES
-----
- Place the two lines at the top of every file, in the language's comment
  syntax: # for shell and Python, // for C-family languages, <!-- --> for
  HTML and XML.
- Use exact identifiers from the SPDX License List. Expressions may combine
  them, for example: MIT OR Apache-2.0.
- If every file carries these lines, a licence scanner can describe the
  whole project without reading a LICENSE file.

SOURCES
-------
SPDX license identifiers: https://spdx.dev/learn/handling-license-info/
SPDX License List: https://spdx.org/licenses/
REUSE specification: https://reuse.software/spec/

VERIFY SHA-256

Download the file, then choose it here. The checksum is compared locally in your browser.

Expected d7e434ff5bfa778ae64096fef0cdf7486727896114d03e1a9e925ca6ad7949a3

CITE

SPDX HEADERS (v1.0, 2026-10-17). Original. https://original.wales/files/spdx-header/ SHA-256: d7e434ff5bfa778ae64096fef0cdf7486727896114d03e1a9e925ca6ad7949a3. Source: https://spdx.dev/learn/handling-license-info/.

← All files