In vivo imaging using shortwave infrared light (SWIR, 1000–2000 nm) benefits from deeper penetration and higher resolution compared to using visible and near-infrared wavelengths. However, the development of biocompatible SWIR contrast agents remains challenging. Despite recent advancements, small molecule SWIR fluorophores are often hindered by their significant hydrophobicity. We report a platform for generating a panel of soluble and functional dyes for SWIR imaging by late-stage functionalization of a versatile fluorophore intermediate, affording water-soluble dyes with bright SWIR fluorescence in serum. Specifically, a tetra-sulfonate derivative enables clear video-rate imaging of vasculature with only 0.05 nmol dye, and a tetra-ammonium dye shows strong cellular retention for tracking of tumor growth. Additionally, incorporation of phosphonate functionality enables imaging of bone in awake mice. This modular design provides insights for facile derivatization of existing SWIR fluorophores to introduce both solubility and bioactivity towards in vivo bioimaging.eTOC blurbThe development of small molecule shortwave infrared (SWIR, 1000–2000 nm) fluorophores for in vivo imaging has recently exploded; however, most SWIR-emissive fluorophores are hydrophobic. Here, we performed late-stage functionalization of a chromenylium heptamethine dye to introduce aqueous solubility and/or bioactivity. With a modular synthesis, we accessed a panel of bright and water-soluble SWIR fluorophores, enabling SWIR imaging of veins, bones and tumor growth. This versatile design provides an avenue for modular construction of water-soluble SWIR fluorophores.Graphical AbstractOptical imaging is a safe, rapid, low-cost imaging modality for (pre)clinical applications; however, it suffers from low penetration of light through tissue. Moving to longer wavelengths such as the shortwave infrared (SWIR) region increases the penetration depth, which has resulted in significant efforts to develop biocompatible, small molecule SWIR fluorophores. Numerous fluorophores have been developed but most are too hydrophobic to be used without a delivery agent.Here, we report a series of water-soluble SWIR fluorophores that can be visualized in mice. Modification with different moieties brings distinct properties that enable the imaging of veins, bones or tumor growth in mice. This modular and facile synthesis renders one hydrophobic SWIR fluorophore core applicable to diverse applications, providing insights for future construction of functional SWIR fluorophores for in vivo imaging.