Wootton Bassett Mayor Steve Bucknell said: "The vast majority of the people of the town fully support what the bikers are doing today.
"Too many times the town has had to stand still in silence but today is all about noise and movement."
Laurence Phillips from Afghan Heroes said the event gathered pace after being posted on social networking site Facebook.
"It's quite a staggering spectacle and an unbelievable show of support for the troops in Afghanistan and a mark of respect for the town of Wootton Bassett," he said.