The pH of intracellular compartments is essential for the viability of cells. Despite its relevance, little is known about the pH of these compartments. To measure pH in vivo, we have first generated two pH sensors by combining the improved-solubility feature of solubility-modified green fluorescent protein (GFP) (smGFP) with the pH-sensing capability of the pHluorins and codon optimized for expression in Arabidopsis. PEpHluorin (plant-solubility-modified ecliptic pHluorin) gradually loses fluorescence as pH is lowered with fluorescence vanishing at pH 6.2 and PRpHluorin (plant-solubility-modified ratiomatric pHluorin), a dual-excitation sensor, allowing for precise measurements. Compartment-specific sensors were generated by further fusing specific sorting signals to PEpHluorin and PRpHluorin. Our results show that the pH of cytosol and nucleus is similar (pH 7.3 and 7.2), while peroxisomes, mitochondrial matrix, and plastidial stroma have alkaline pH. Compartments of the secretory pathway reveal a gradual acidification, spanning from pH 7.1 in the endoplasmic reticulum (ER) to pH 5.2 in the vacuole. Surprisingly, pH in the trans-Golgi network (TGN) and multivesicular body (MVB) is, with pH 6.3 and 6.2, quite similar. The inhibition of vacuolar-type H+-ATPase (V-ATPase) with concanamycin A (ConcA) caused drastic increase in pH in TGN and vacuole. Overall, the PEpHluorin and PRpHluorin are excellent pH sensors for visualization and quantification of pH in vivo, respectively.