No direct conversion exists. PS1 and PS2 have different CPU architectures (MIPS R3000 vs. Emotion Engine), memory maps, and GameShark code formats.
Caution: Bad codes corrupt saves. Test on a backup.