The requirement for a protospacer adjacent motif (PAM) is a well-known limitation of the CRISPR–Cas9 system, as it restricts the range of sequences that can be targeted. To address this limitation, we demonstrate a phage-assisted evolution approach for engineering a compact SlugCas9, simplifying its PAM requirement and broadening its DNA targeting scope.