We give a spectral theorem for unital representions of Hermitian commutative unital *-algebras by possibly unbounded operators in a pre-Hilbert space. A more general result is known for the case in which the *-algebra is countably generated.