A quick design useful for dealing with interfacing between 3V3 and 5V components. Repeat as many times as required!
The example below is tailored for 3V3 and 5V level shifting although it can be applied to anything within the permissable range of the BSS138 so long as the lower voltage is connect on the left hand side of the schematic. That is, low voltage level to the gate.

The tiny SOT-23 package of the BSS138 also makes it ideal for sticking discretely on a PCB.
