ABSTRACT In vitro screening of large compound libraries with automated high-throughput screening is expensive and time-consuming and requires dedicated infrastructures. Conversely, the selection of DNA-encoded chemical libraries (DECLs) can be rapidly performed with routine equipment available in most laboratories. In this study, we identified novel inhibitors of SARS-CoV-2 main protease (M pro ) through the affinity-based selection of the DELopen library (open access for academics), containing 4.2 billion compounds. The identified inhibitors were peptide-like compounds containing an N-terminal electrophilic group able to form a covalent bond with the nucleophilic Cys145 of M pro , as confirmed by x-ray crystallography. This DECL selection campaign enabled the discovery of the unoptimized compound SLL11 (IC 50 = 30 nM), proving that the rapid exploration of large chemical spaces enabled by DECL technology allows for the direct identification of potent inhibitors avoiding several rounds of iterative medicinal chemistry. As demonstrated further by x-ray crystallography, SLL11 was found to adopt a highly unique U-shaped binding conformation, which allows the N-terminal electrophilic group to loop back to the S1′ subsite while the C-terminal amino acid sits in the S1 subsite. MP1, a close analog of SLL11, showed antiviral activity against SARS-CoV-2 in the low micromolar range when tested in Caco-2 and Calu-3 (EC 50 = 2.3 µM) cell lines. As peptide-like compounds can suffer from low cell permeability and metabolic stability, the cyclization of the compounds will be explored in the future to improve their antiviral activity.