We investigate the behaviour of a charged isotropic model with conformal symmetry. The relationship between the gravitational potentials arising from the conformal condition is used to generate a new class of exact solutions to the Einstein-Maxwell equations. A specific form of the electric field intensity and the metric potential is required to avoid a singularity at the centre. We can find simple elementary functions for the matter variables and the potentials with realistic profiles. The causality conditions, stability conditions and energy conditions are satisfied. Masses, radii, central densities and surface redshifts are generated, and the values are consistent with the compact stars 4U 1538-52 and PSR J1614-2230.