contexts: `` If I Were a Boy '' Single by Beyoncé from the album I Am ... 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 )
name: If I Were a Boy
answers.input_text: short
answers.span_text: BC Jean Toby Gad
questions.input_text: who wrote the song if i were a boy