This invention relates to novel indazole derivatives of formula I wherein R1 to R7 are as defined in the description and in the claims, as well as physiologically acceptable salts thereof. These compounds are FXR modulators and can be used as medicaments.