diff --git a/Vagrantfile b/Vagrantfile
index 253725166..b795601f7 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -1,21 +1,6 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
-#
-# This file is part of FreedomBox.
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
+# SPDX-License-Identifier: AGPL-3.0-or-later
require 'etc'
diff --git a/doc/Makefile b/doc/Makefile
index 20294d7a5..722e9f14c 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -1,20 +1,5 @@
#!/usr/bin/make -f
-#
-# This file is part of FreedomBox.
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
+# SPDX-License-Identifier: AGPL-3.0-or-later
OUTPUTS=freedombox-manual.pdf plinth.1 manual-pages
diff --git a/doc/dev/Makefile b/doc/dev/Makefile
index bfc0d34a4..a3ce1d37c 100644
--- a/doc/dev/Makefile
+++ b/doc/dev/Makefile
@@ -1,19 +1,4 @@
-#
-# This file is part of FreedomBox.
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
+# SPDX-License-Identifier: AGPL-3.0-or-later
#
# Minimal makefile for Sphinx documentation
diff --git a/doc/plinth.xml b/doc/plinth.xml
index 925732597..9ff96443b 100644
--- a/doc/plinth.xml
+++ b/doc/plinth.xml
@@ -1,22 +1,7 @@
diff --git a/doc/scripts/fetch-images.xslt b/doc/scripts/fetch-images.xslt
index 451c830b8..ebb298290 100644
--- a/doc/scripts/fetch-images.xslt
+++ b/doc/scripts/fetch-images.xslt
@@ -1,21 +1,6 @@
diff --git a/doc/scripts/fixes.xslt b/doc/scripts/fixes.xslt
index 603ba7a66..e0206ba54 100644
--- a/doc/scripts/fixes.xslt
+++ b/doc/scripts/fixes.xslt
@@ -1,21 +1,6 @@
diff --git a/doc/scripts/manual-page-fixes.xslt b/doc/scripts/manual-page-fixes.xslt
index b84df4632..a9c713bb4 100644
--- a/doc/scripts/manual-page-fixes.xslt
+++ b/doc/scripts/manual-page-fixes.xslt
@@ -1,21 +1,6 @@
diff --git a/doc/scripts/post-processor b/doc/scripts/post-processor
index 942253ba6..a97be25d5 100755
--- a/doc/scripts/post-processor
+++ b/doc/scripts/post-processor
@@ -1,20 +1,5 @@
#!/usr/bin/python3
-#
-# This file is part of FreedomBox.
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
+# SPDX-License-Identifier: AGPL-3.0-or-later
import argparse
import xml.etree.ElementTree as etree