The free-for-all became free for all!

Every passenger aboard United Airlines’ Flight 3411 bound for Louisville, Kentucky, will get a refund following the mayhem of a doctor getting dragged off the plane.

A United Airlines spokesperson told The Post the passengers “are receiving compensation for the cost of their tickets.”

The freebie flight comes after Dr. David Dao, 69, was dragged off the plane at Chicago’s O’Hare Airport before horrified passengers.

The incident became a public-relations disaster for United Airlines after a video of Dao being hauled off by his arms by security personnel went viral.

One passenger, Louisville resident Joya Griffin Cummings, who was seated in the row behind Dao, captured a video showing the moments just before Dao was pulled from his seat.

“Thank you to all of the friends and friends of friends who shared my video of Dr. Dao before he was forcibly removed from our flight,” Cummings said in a lengthy Facebook post Wednesday.

In defense of Dao, Cummings noted that Dao, also from Kentucky, “was no more ‘irate or belligerent’ than any weary passenger after a long day of travel would be. He just wanted to go home.”

When security personnel approached Dao aboard the plane Sunday, telling him he had to deplane, he claimed he was a physician and needed to get back to Kentucky for his scheduled patients.

“The airline was not able to get him home until after 2 p.m. Monday afternoon. He was irritated as any passenger would be, questioning why he was chosen and explaining that he was a doctor and had patients to see in the morning,” Cummings wrote.

Dao was one of four passengers selected at random for removal from the full flight. When he refused to give up his seat, security members with the Chicago Department of Aviation dragged him off.

“I was not concerned for my safety, nor that of my toddler’s or for my pregnancy until the police were called aboard our plane to remove him,” Cummings wrote. “I was worried about what a physical altercation would entail with us sitting directly behind him and if the officers were armed in a tiny, confined space.”

Cummings said that Tuesday night, a representative from United Airlines “called to offer apologies and a full refund of our tickets.”

“This is a small gesture for the horror that everyone experienced on that plane and what the world is experiencing now at this injustice,” Cummings said.

Cummings ended the post by saying, “The more the videos of the flight play, the more my heart breaks for Dr. Dao and our community as a whole. Things must change. America, we can and must do better.”