Bacteriophages are highly abundant molecular machines that have evolved proteins to target the surface of host bacterial cells. Given the ubiquity of lipopolysaccharides (LPS) on the outer membrane of Gram-negative bacteria, we reasoned that targeting proteins from bacteriophages could be leveraged to target the surface of Gram-negative pathogens for biotechnological applications. To this end, a short tail fiber (GP12) from the T4 bacteriophage, which infects Escherichia coli (E. coli), was isolated and tested for the ability to adhere to whole bacterial cells. We found that, surprisingly, GP12 effectively bound the surface of Pseudomonas aeruginosa cells despite the established preferred host of T4 for E. coli. In efforts to elucidate why this binding pattern was observed, it was determined that the absence of the O-antigen region of LPS on E. coli improved cell surface tagging. This indicated that O-antigens play a significant role in controlling cell adhesion by T4. Probing GP12 and LPS interactions further using deletions of the enzymes involved in the biosynthetic pathway of LPS revealed the inner core oligosaccharide as a possible main target of GP12. Finally, we demonstrated the potential utility of GP12 for biomedical applications by showing that GP12-modified agarose beads resulted in the depletion of pathogenic bacteria from solution.