Question: who wrote beyonce song if i were a boy
Answer: Sasha Fierce A-side `` Single Ladies ( Put a Ring on It ) '' Released October 8 , 2008 ( 2008 - 10 - 08 ) Format CD digital download Recorded 2008 ; Roc the Mic Studios , Strawberrybee Productions , GAD Studios Genre Pop Length 4 : 09 Label Columbia Songwriter ( s ) BC Jean Toby Gad Producer ( s ) Toby Gad Beyoncé Knowles Beyoncé singles chronology `` Love in This Club Part II '' ( 2008 ) `` If I Were a Boy '' ( 2008 ) `` Single Ladies ( Put a Ring on It ) '' ( 2008 ) `` Love in This Club Part II '' ( 2008 ) `` If I Were a Boy '' ( 2008 ) `` Single Ladies ( Put a Ring on It ) '' ( 2008 )