A 6-year-old boy has been bitten on the leg by a dingo on Fraser Island.

On Saturday evening the boy ran ahead of his family to the top of a sand dune where he met a pack of four dingoes.

Queensland Ambulance Service paramedics treated and stabilised the boy for transport before he was airlifted from the Eurong helipad.

The Department of Environmental Science website urges parents to stay within arm's length of their children at all times and avoid letting children run ahead.