Question: who wrote the song sare jahan se acha hindustan hamara
Answer: `` Sare Jahan se Accha '' ( Urdu : سارے جہاں سے اچھا ‬ ‎ , Hindi : सारे जहां से अच्छा ; Sāre Jahāṉ se Acchā ) , formally known as `` Tarānah - i - Hindi '' ( Urdu : ترانۂ ہندی ‬ ‎ , Hindi : तराना - ए - हिंदी ; `` Anthem of the People of India '' ) , is an Urdu language patriotic song written for children by poet Muhammad Iqbal in the ghazal style of Urdu poetry .