Picture : Messi before Pelé !

Messi lifts to 2nd position in All-Time Goal-scorers ranking

The goals scored by Lionel Messi in May in the French league for Paris SG allowed him to rise on 2nd place in IFFHS World’s All-Time Goal-scorers ranking surpassing Pelé.
Messi has increased his career tally to 764 top-level goals. Pelé is now third with 762. Cristiano Ronaldo leads the ranking with 813 goals.
Here we publish an updated ranking consisting of 23 players to score 500+ top-level goals throughout their careers; 5 of them are active (taken bold).
Some numbers are corrected. For example, the goal wrongly attributed to Pelé by CONMEBOL in 1965 Copa Libertadores game Santos vs Peñarol (5-4) is taken off from him (the goal on 38th minute; it was actually scored by Coutinho).

 PlayerNationalityPeriodGoals   Sum
1Cristiano Ronaldo Portugal 2002-49751150115813
2Lionel Messi Argentina 2004-4807013381764
3Pelé Brazil1957-1977604492683762
5Ferenc PuskásHungary, Spain1943-1966514765584729
6Josef BicanAustria, Czechoslovakia, BM1931-19555181294132720
7Jimmy Jones Northern Ireland  1947-1964332301212647
8Gerd MüllerGermany1964-1981405926968634
9EusébioPortugal 1957-1978422975941619
10Joe BambrickNorthern Ireland  1926-1943348247 21616
11Robert LewandowskiPoland2008-344499575563
12Glenn FergusonNorthern Ireland  1987-20113132426 561
13Zlatan Ibrahimović Sweden1999-393485762560
14Fernando PeyroteoPortugal1937-194946472314553
15Jimmy McGroryScotland1922-1937409131 12552
16Uwe SeelerGermany1954-1978446412143551
17Alfredo Di StéfanoArgentina, Spain1945-1966376557029530
18György SárosiHungary1930–19483513110242526
19Luis Suárez Uruguay2005-356435368520
20Roberto DinamiteBrazil1971-19924768522511
21Hugo SánchezMexico  1976-1997390493830507
22Imre Schlosser Hungary1905-1928417181059504
23Franz BinderAustria, Germany1930–1949296938726502

NL+ = National Leagues (top divisions) plus relevant Regional Leagues (taken in account only having the strength comparable to national league; Campeonato Carioca and Campeonato Paulista for Romário, Pelé and Roberto Dinamite, Lisbon Championship for Peyroteo, Oberliga Nord for Seeler).
NC+ = National Cups plus other relevant domestic tournaments (Torneio Rio-São Paulo etc.)
ICC = International Club Competitions
NT+ = National Team plus other relevant selections (state or league selections, final tournaments of Olympic Games until 1988)