New York (CNN Business) Tinder will start to warn its LGBTQ users when they're in a country where it could be risky to swipe.

On Wednesday, the dating app announced a new safety feature called Traveler Alert that will inform LGBTQ users when they've entered a part of the world that criminalizes same-sex consensual activity and hide their profiles by default. The feature will roll out in the coming days.

Tinder, which is available in 190 countries and in more than 40 languages, worked with the International Lesbian, Gay, Bisexual, Trans and Intersex Association to determine which countries still deem same-sex relationships or acts illegal. The alerts will include a link to the ILGA site for information on local sexual-orientation laws.

The move aims to protect individuals in nearly 70 countries where there are laws targeting LGBTQ people, and in some cases, where police "have been known to use dating apps as tools for potential entrapment," Tinder said in its announcement.

Tinder said that people who've identified as LGBTQ in its app will no longer have their profiles automatically appear when they open the app in an area with discriminatory laws. People will then be given the option to remain hidden or opt to make their profile public.

Read More