The ability to tune the selectivity of graphene through controlled generation of subnanometer pores addresses a significant challenge in the development of advanced nanoporous graphene membranes for nanofiltration, desalination, gas separation, and other applications.