Heparan sulfates (HS) contain functionally relevant structural motifs, but determining their monosaccharide sequence remains challenging. Here, the authors develop an ion mobility mass spectrometry-based method that allows unambiguous characterization of HS sequences and structure-activity relationships.