Traditional urinalysis relies on endogenous biomarkers, which have limited diagnostic sensitivity and specificity. This Review discusses molecular optical probes that interact with disease biomarkers in vivo and produce artificial urinary biomarkers, which are excreted into urine for remote urinalysis.