The present invention relates to novel compounds represented by the formula I having histone deacetylase 6 (HDAC6) inhibitory activity, stereoisomers thereof or pharmaceutically acceptable salts thereof, the use thereof for the preparation of therapeutic medicaments, pharmaceutical compositions containing the same, a method for treating diseases using the composition, and methods for preparing the novel compounds. (I) The novel compounds, stereoisomers thereof or pharmaceutically acceptable salts thereof according to the present invention have histone deacetylase (HDAC) inhibitory activity and are effective for the prevention or treatment of HDAC6-mediated diseases.