A teaching device and a teaching modification device capable of easily attaining conformity between an operation program of a robot prepared by off-line programming and an actual operation of the robot. A layout