---
name: "reuse-convert-dep5"
section: "1"
platform: "linux"
package: "reuse"
version: "6.2.0-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/reuse-convert-dep5"
---

# reuse-convert-dep5(1)

Convert .reuse/dep5 to REUSE.toml

## NAME

reuse-convert-dep5 - Convert .reuse/dep5 to REUSE.toml

## SYNOPSIS

**reuse convert-dep5** \[*options*\]

## DESCRIPTION

**reuse-convert-dep5** converts the **.reuse/dep5** file into a functionally equivalent **REUSE.toml** file in the root of the project. The **.reuse/dep5** file is subsequently deleted.

## OPTIONS

- **--help**

  Display help and exit.

## EXAMPLES

Given the following **.reuse/dep5** file:

```
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Some project
Upstream-Contact: Jane Doe
Source: https://example.com/
Disclaimer: Some rights reserved
Files: hello*.txt
Copyright: 2018 Jane Doe
License: MIT
Comment: hello world
Files: foo bar
Copyright: 2018 Jane Doe
    2019 John Doe
License: MIT
```

The following **REUSE.toml** is generated:

```
version = 1
SPDX-PackageName = "Some project"
SPDX-PackageSupplier = "Jane Doe"
SPDX-PackageDownloadLocation = "https://example.com/"
SPDX-PackageComment = "Some rights reserved"
[[annotations]]
path = "hello**.txt"
precedence = "aggregate"
SPDX-FileCopyrightText = "2018 Jane Doe"
SPDX-License-Identifier = "MIT"
SPDX-FileComment = "hello world"
[[annotations]]
path = ["foo", "bar"]
precedence = "aggregate"
SPDX-FileCopyrightText = ["2018 Jane Doe", "2019 John Doe"]
SPDX-License-Identifier = "MIT"
```

## Author

Free Software Foundation Europe

## Copyright

2017, Free Software Foundation Europe. CC-BY-SA-4.0
