The invention discloses a Chinese character password encoding method based on image pixel coordinates. The encryption process comprises the steps that (1), plaintext Chinese character strings are input, and the length K of each character string is fetched; (2), a public key image f1 and a private key image f2 are read to generate a private key image F, and the size M*N of the image is fetched; (3), each character is converted into binary data and segmented into a high byte block and a low byte block, and the high byte block and the low byte block are stored into a cellular array destr (i, 1) and a cellular array destr (i, 2) respectively; (4), pixel values matched with the cellular array destr (i, 1) and the cellular array destr (i, 2) are searched for in a circulating mode in the F, and pixel coordinates are read and stored into a two-dimensional matrix left (x, y) and a two-dimensional matrix right (x, y); (5), two coordinate values in the left (x, y) and the right (x, y) are fetched randomly for replacing the high byte block and the lower byte block of the character; (6), positions of four values of the two coordinates are changed according to an appointed position changing sequence, and the four values are output into a four-dimensional matrix (x, y, v); (7), when i is equal to K, the encryption process is finished, and the K-line four-dimensional matrix (x, y, v) is output to be a ciphertext. The encryption method has the advantages that privacy is good, and private key management is flexible and convenient, and is the safe Chinese character password encoding method.