Demonstration of an optical frequency synthesizer with zero carrier-envelope-offset frequency stabilized by the direct locking method.