Skip to content

Announcing the carbon.txt plugin for WordPress!

The carbon.txt plugin in the WordPress plugin store


We’re delighted to announce that integrated support for carbon.txt has arrived in the WordPress ecosystem, via the plugin we’ve been developing in collaboration with Nahuai Badiola. Carbon.txt developer Tim Cowlishaw explains the details of how to use the plugin, and why we see WordPress support as a crucial step in driving adoption of carbon.txt, and bringing about a more sustainable and transparent web.

TL;DR: The short version

If you have a WordPress website, and already have a corporate sustainability policy written, or some other sustainability documents you wish to disclose, setting up carbon.txt should now be a 5-minute process requiring no special technical skills. The carbon.txt plugin available for download and installation now in the WordPress plugin directory.

Why we’ve developed a carbon.txt plugin for WordPress

One of the principal challenges we’ve faced over the last eighteen months of researching, designing and developing carbon.txt, has been accounting for the particular combination of knowledge, skills and responsibilities needed to adopt it. To create a carbon.txt file from scratch some technical know-how is required to create the file, along with specialist expertise on digital sustainability. In addition, the person creating the file needs access to upload it to an organization’s website, as well as a sufficient level of responsibility to make sustainability declarations publicly. One thing we’ve found, through talking to experts and through user testing, is that, in organizations of more than a few people, this particular combination of skills and responsibilities very rarely resides in a single person. This can make the process of adopting carbon.txt challenging, as it requires coordinating and marshalling the efforts of several people.

For this reason, much of our work over the last year has been to remove some of these barriers to adoption: our aim is that the person with overall responsibility for sustainability in an organization should be able to create and publish a carbon.txt file without requiring any additional specialist support. Our builder tool was the first step in this process: enabling sustainability experts to create a carbon.txt file without having to edit TOML code, and therefore getting rid of the need to enrol a technical expert to translate an organization’s disclosures into the carbon.txt format. This still requires users to be able to manually upload their carbon.txt file to their organization’s website though, which is both a technical and organizational hurdle. For this reason, we’ve been working on bringing integrated support for carbon.txt to some of the web’s most popular content management platforms, starting with Wagtail CMS, with whom we’ve been collaborating since the beginning of the year.

Obviously, no serious adoption strategy involving content management system integration should overlook WordPress: it powers 38.5% of the world’s websites, including some of the largest and most heavily trafficked in news, publishing, public services and corporates. In addition, the WordPress community has a long history of embracing sustainable development practices, and taking digital sustainability concerns seriously, so it felt like a natural fit with our mission and the particular functionality offered by carbon.txt. 

An overview of the plugin

Therefore, producing a carbon.txt plugin for WordPress has always been high on our list of plans, and when the opportunity arose to do so, collaborating with a former Green Web fellow, and member of the former WordPress Sustainability Team, Nahuai Badiola, we jumped at the chance. We’ve now launched the first version of the plugin, which allows you to create and publish your carbon.txt file using a friendly graphical interface, directly from within the WordPress administration pages.

Screenshot of the plugin interface

What you can do with the plugin

The plugin allows you to set up a carbon.txt file and declare one or more organizationa certifications andl disclosures from within the WordPress admin itself, with no need to edit or upload code.

You can add a disclosure in any one of three ways:

  • Paste any URL directly.
  • Pick an existing published page with a searchable autocomplete.
  • Choose a file from the media library — the picker shows every file, so use its built-in search to find the one you want.

It also gives you a live preview of the contents of your carbon.txt file, so you can be sure it contains the correct information.

A huge thank you to Nahuai

Nahuai on stage at WordCamp Europe 2024 with the rest of the wordpress sustainability team!

Nahuai’s help in this process was invaluable, and went beyond just the design and development of the plugin itself. His knowledge of both the WordPress software and its community – the particular conventions, norms, and expectations of its users – has helped us produce a tool which we can be confident addresses the needs of this particular community. 

Get involved: Beta testers wanted!

We’re very proud of what we’ve released, but at the same time are very aware that the first version of any software product is seldom perfect: We’re hoping that this is the first of many versions which make the experience of using carbon.txt from within WordPress even simpler. For that reason, we’d love to speak to anyone who’s using our plugin, thinking about using it, or is just generally interested in what carbon.txt in WordPress can offer them. If you’ve any thoughts, or feedback, or would like to discuss this, please get in touch via our support form, or by raising an issue on our github repository!