Enables the transfer of a pentose sugar, a monosaccharide with 5 carbon atoms, from one side of the membrane to the other.