dd has this functionality built-in via conv=swab, which "swaps every pair of input bytes". It's incredibly useful if you need to convert file formats from "byte-swapped" to "big-endian" (or vice versa):
dd
conv=swab
dd if=file1.v64 of=file2.z64 conv=swab