A machining program creating device for a wire electric discharge machine, which comprises, at least two linear axes (X, Y, Z) for relative movement of a table and a wire electrode , and a loading unit mounted on the table , capable of being fitted with a workpiece , and including at least two pivots (A, B), the machining program creating device comprising: graphic data input unit configured to input graphic data defining a product shape; machining data setting unit configured to set machining data including at least the thickness of the product shape and an amount of tilt of the wire electrode ; machining shape creating unit configured to create a machining shape based on the input graphic data and the machining data; program creating unit configured to create a machining program according to which, the tilt of the workpiece relative to the wire electrode is changed for machining by synchronously moving the linear axes (X, Y, Z) and the pivots (A, B), based on the created machining shape; a program input unit for inputting the machining program; and a program conversion unit configured to convert a tilt command for the wire electrode and a command for the movement of the wire electrode relative to the workpiece to a command for the movement of the wire electrode relative to the workpiece and commands for the rotation of the pivots (A, B), based on the amount of tilt of the wire electrode in the input machining program, the amounts of movement of the linear axes of the wire electrode relative to the workpiece, and previously stored rotation center lines of the pivots, in order to change the tilt of the workpiece relative to the wire electrode , for machining the workpiece with the wire electrode held vertical, by synchronously moving the linear axes (X, Y, Z) and the pivots (A, B). graphic data input unit configured to input graphic data defining a product shape; machining data setting unit configured to set machining data including at least the thickness of the product shape and an amount of tilt of the wire electrode ; machining shape creating unit configured to create a machining shape based on the input graphic data and the machining data; program creating unit configured to create a machining program according to which, the tilt of the workpiece relative to the wire electrode is changed for machining by synchronously moving the linear axes (X, Y, Z) and the pivots (A, B), based on the created machining shape; a program input unit for inputting the machining program; and a program conversion unit configured to convert a tilt command for the wire electrode and a command for the movement of the wire electrode relative to the workpiece to a command for the movement of the wire electrode relative to the workpiece and commands for the rotation of the pivots (A, B), based on the amount of tilt of the wire electrode in the input machining program, the amounts of movement of the linear axes of the wire electrode relative to the workpiece, and previously stored rotation center lines of the pivots, in order to change the tilt of the workpiece relative to the wire electrode , for machining the workpiece with the wire electrode held vertical, by synchronously moving the linear axes (X, Y, Z) and the pivots (A, B). <EOS>