Climate activist from Dresden

How do I type CO₂ instead of CO2? Subscript in all apps.

Published on 20th October 2026.
This article covers a few small tricks I personally use to write the chemical formula for carbon dioxide without thinking or effort. I always just type “CO2” and “CO₂” appears. That way I don't have to pause while typing and can write sentences about the climate catastrophe in one go. My need for correct typography is still satisfied. The subscript 2 is a Unicode character and therefore works almost everywhere: Telegram, Twitter, Slack, Mattermost, Facebook, Word and so on. Below I describe the one-time setup:

Android

Text replacement on Android
  1. Copy the following 3 characters CO₂ from this website to the clipboard.
  2. Settings » Languages & input » Keyboards & input methods.
  3. Check whether Google Keyboard or Gboard is offered. No? Then install it from the Play Store.
  4. Tap Google Keyboard or Gboard
  5. Dictionary » Personal dictionary » English (or your language)
  6. Tap + in the top right corner
  7. Under “Word”, paste CO₂ from the clipboard; under “Shortcut”, enter co2.

iOS

Text replacement on iOS
  1. Copy CO₂ from a website to the clipboard.
  2. Settings » General » Keyboard » Text Replacement
  3. Tap the blue plus in the top right corner.
  4. Paste CO₂ from the clipboard into the “Phrase” field.

Windows

  1. Install AutoHotkey
  2. Start the program “Notepad”
  3. Paste the following text into the window:
    :cb0*:CO2::{bs 1}₂

    For the curious, here are the parts:
    • The : at the beginning means that a hotstring starts: something that gets replaced while typing. The two :: separate the triggering string from the target text.
    • c means that upper and lower case don't matter in the triggering string. co2 works just as well as CO2.
    • b0 means that AutoHotkey does not delete the triggering string (docs here). Together with the {bs 1}, this makes the replacement faster.
    • * means that no keystroke such as space or Enter is needed (docs here).
  4. Close the Notepad window and save the file in the “Documents” folder. The goal is for the file to be named “autohotkey.ahk”. To do that, type the name "autohotkey.ahk" including the quotation marks into the save dialog. The quotation marks keep Notepad from appending the .txt extension. Best check right away in Explorer what the file is now called. For that, you may need to turn off hiding of file extensions. The file must be in the “Documents” folder because that is where AutoHotkey looks for it.
  5. Add AutoHotkey to startup. To do that, press Windows + R on the keyboard and type “shell:startup”. A folder window opens. In it, create a shortcut to the file you just created in Documents.
  6. Double-click the new shortcut and enjoy.

Linux

  1. Install AutoKey. On Ubuntu 20.04, for example, you can do this via “Ubuntu Software” or (in the terminal) via sudo apt install autokey-gtk
  2. Start AutoKey
  3. File » New » Phrase
  4. Set CO2 as the file name
  5. Set CO2 as the abbreviation
  6. Paste CO₂ from the clipboard into the box at the top right
Text replacement on Ubuntu

macOS

Hammerspoon, Keyboard Maestro or BetterTouchTools can help here.

Financial support

Description
I fight for climate justice in my free time. Previously with the formerly Letzte Generation, currently with Extinction Rebellion, Scientist Rebellion, and others.

Since I have decided for myself that unfortunately acts of civil disobedience are necessary to enact policies that fight climate change, I regularly have to pay fines from authorities and courts. This is quite normal and part of the process. I handle it myself initially.

Occasionally, some of you ask me how you can support me financially. First of all: wow, what? Phew, I'm just an ordinary person - are you sure you mean me? Okay, here's how you can send me money:
  • My email address on PayPal is paypal@blaeul.de.
  • Bank transfer or standing order:
    My IBAN is DE42430609671153542201 and my BIC is GENODEM1GLS
  • Steady: Gogowitsch
I am a private individual and cannot issue a donation receipt. I have been donating for many years to non-profit associations in the fields of sustainability, climate protection, and nature conservation. Should I receive more money than I need for bills from my activism, I will further donate it myself.

Social Media