Several organisations and political scientists maintain lists of free and unfree states, both in the present and going back a couple centuries.
Freedom House considers many of the officially democratic governments in Africa and the former Soviet Union to be undemocratic in practice, usually because the sitting government has a strong influence over election outcomes.