UNHCR's Refworld legal collection is primarily a tool for disseminating international law relating to refugees and asylum seekers. However, it more generally contains human rights caselaw and instruments. Included in the collection are international instruments relating to human rights and international and national legislation.
Legislationline.org is a free database of national and EU legislation. This database also gives you access to international norms and standards, framed in relation to a list of human rights topics. This database is an excellent starting point for comparative research. To compare countries, choose the topic and then select the jurisdiction you want. Jurisdictions covered are the 57 Member States of the Organization for Security and Co-operation in Europe (OSCE). Legislationline.org is produced by the OSCE Office for Democratic Institutions and Human Rights.
WARNING: the legislation is not necessarily up to date, or a complete representation of all the human rights instruments in every jurisdiction, so once you find the piece of legislation you want, locate it in its official national legislation website to ensure you have the most up to date information.