A wavelength converter which is disposed in an optical resonator of a laser apparatus comprising a semiconductor laser, solid state laser medium and optical resonator, or which is disposed in an optical resonator of a laser apparatus comprising a semiconductor laser and an optical resonator, in which the nonlinear optical material of the wavelength converter comprises a compound represented by the general formula (1) ##STR21## wherein R.sup.1 denotes an electron attractive group, R.sup.2 denotes a group selected from the group consisting of a hydrogen atom, methyl group, methoxy group and electron attractive group, R.sup.3 denotes a straight-chain alkylene group, and X denotes an oxygen or sulfur atom.