The present invention provides an X-ray equipment and an alignment method thereof. The X-ray equipment comprises a tube, a detector, an LED array, a camera and a display. The LED array is fixed relative to a detection center of the detector, and has a predefined geometric center; the camera is fixed relative to a center of the tube, for photographing the LED array; the display is connected to the camera, for displaying images photographed by the camera, wherein when the center of the tube is aligned with the detection center of the detector, the geometric center of the LED array is located on a specific pixel unit on the display.