San Francisco: Members of the controversial Kansas-based Westboro Baptist Church are planning an ill-advised protest at actor Robin Williams' funeral over his portrayal of a gay man in The Birdcage.

The Good Will Hunting star passed away on Monday and while details of his funeral have not been made public, members of the church have already announced plans to picket the memorial.

Members of the Westboro Baptist Church hold anti-gay signs at a previous protest. Credit:Reuters

A message posted on the group's official Twitter page reads: "Westboro Baptist Church Hopes To Preach In Lawful Proximity To Robin Williams' Funeral - To Warn The Living: Repent Or Likewise Perish."

However, organisers at the global non-profit group Planting Peace have launched a fund-raiser to counter the church's plans. A message from co-founder Aaron Jackson reads: "Robin Williams played many different roles in so many people's lives, and giving back to others was at the top of that list.