3.3v to 5v inverter by bc547

so i think the best way is to use mosfet's. i am thinking about BSS138.
but the device needs to be truly bi-directional as there will be communiction between arduino and SD card