As one of the major types of biomacromolecules in the cell, glycans play essential functional roles in various biological processes. Compared with proteins and nucleic acids, the analysis of glycans in situ has been more challenging. Herein we review recent advances in the development of methods and strategies for labeling, imaging, and profiling of glycans in cells and in vivo. Cellular glycans can be labeled by affinity-based probes, including lectin and antibody conjugates, direct chemical modification, metabolic glycan labeling, and chemoenzymatic labeling. These methods have been applied to label glycans with fluorophores, which enables the visualization and tracking of glycans in cells, tissues, and living organisms. Alternatively, labeling glycans with affinity tags has enabled the enrichment of glycoproteins for glycoproteomic profiling. Built on the glycan labeling methods, strategies enabling cell-selective and tissue-specific glycan labeling and protein-specific glycan imaging have been developed. With these methods and strategies, researchers are now better poised than ever to dissect the biological function of glycans in physiological or pathological contexts.