A special DNA calliper made of a split G-quadruplex was constructed to measure the length of DNA in a single-digit base number range between two selected sequences. The enhanced fluorescence of PPIX changed with the distance between two G-rich segments.