Protein tyrosine O-sulfation (PTS) plays a crucial role in extracellular biomolecular interactions that dictate various cellular processes. It also involves in the development of many human diseases. Regardless of recent progress, our current understanding of PTS is still in its infancy. To promote and facilitate relevant studies, a generally applicable method is needed to enable efficient expression of sulfoproteins with defined sulfation sites in live mammalian cells. Here we report the engineering, in vitro biochemical characterization, structural study, and in vivo functional verification of a tyrosyl-tRNA synthetase mutant for the genetic encoding of sulfotyrosine in mammalian cells. We further apply this chemical biology tool to cell-based studies on the role of a sulfation site in the activation of chemokine receptor CXCR4 by its ligand. Our work will not only facilitate cellular studies of PTS, but also paves the way for economical production of sulfated proteins as therapeutic agents in mammalian systems.