A linker for a unimolecular FRET biosensor based on a principle of fluorescence resonance energy transfer, the linker including: a polypeptide containing 52 to 400 amino acids residues, wherein at least 45% of a total number of the amino acid residues are glycine, alanine, or both thereof, and at least 10% of the total number of the amino acid residues are alanine.