turn (something) inside out

idiom

Definition of turn (something) inside out

informal
1 : to cause (a place) to become disorganized while one is trying to find something I turned the closet inside out and still couldn't find those shoes.
2 : to change (something) completely Her life was turned inside out after the accident.