When they are used apart rather than in a sentence.
It's me
It's formally correct to write it's i however there is popular usage of it's me
Its me is the correct usage.
It's I
Its me
Its me.
Its Me
It's Me is correct
its me
I
It's Me
It's me