Two-dimensional code has shown its impressive performance on mobile payment and advertising marketing. To ensure that the two-dimensional code is correctly identified by recognition devices, the traditional two-dimensional code must be attached to the surface of the plane of the object. However, if attached to the surface of conical carrier, the image of the normal two-dimensional code will be compressed into distortion because of image projection, which will lead to identify problem. To this end, we propose a novel algorithm of anti-distortion twodimensional code on conical surface based on pre-stretching, to address the challenge of identifying two-dimensional code on conical carrier. According to the spatial geometric relation of the conic, pre-stretching the normal two-dimensional code image via inverse mapping to obtain the pre-deformed two-dimensional code which will be printed and then pasted on the surface of conic. Specifically, the image of the pre-stretched two-dimensional code in the projection plane of the acquisition device is just as the normal two-dimensional code, which will be correctly identified. To better demonstrate the method, we test it on experimental simulation.