It was a fitting finale for Bellamy, whose 78th cap for the Dragons saw him booked for arguing with the referee prior to providing a beautifully-weighted pass for Ramsey to score.
The Belgians, who had won seven of their previous eight outings, had the better of the chances with Atletico Madrid full-back Toby Alderweireld rattling the crossbar with a deflected volley and the on-loan Everton striker Romelu Lukaku flashing a header inches wide.
But Wales dug deep and clinched a result that will leave boss Chris Coleman optimistic that he will be given the chance to continue in his role after expressing serious doubts over whether his contract would be renewed in the run up to the match.
The Dragons, who saw Liverpool starlet Harry Wilson become their youngest ever player when he came on as a late substitute, finish their Group A campaign in fifth spot with 10 points from 10 matches while Belgium head to Brazil next summer after comfortably topping the standings.
5’ CHANCE - Lukaku races onto De Bruyne's pass in the right channel and fires in a shot but Wayne Hennessey does well to block it with his knees at the near post.
37' WOODWORK - Alderweireld shows some great ball juggling skills on the edge of the area before thumping in a volley that deflects onto the crossbar. Mirallas seizes the rebound but sees his first shot blocked and thrashes a second effort into the side netting.
39' SO CLOSE - Mirallas whips in a cross from the left that Lukaku meets with a flying header that flies inches past the post.
45' PENALTY APPEAL - Bellamy clips a delightful pass into the path of Church who goes down under a touch from Van Buyten. The ref says no spot-kick but there was definitely contact.
63' GREAT SAVE - Hazard jinks into the area and fires in a low shot that Hennessey keeps out with his feet.
64' GOAL - Belgium 1-0 Wales. Chelsea's De Bruyne surges into the right side of the area and drills a low shot into the far corner after a neat flick into his path by Lukaku.
87' HISTORY MAKER - WALES sub: Harry Wilson comes on to become his country's youngest ever player at 16 years and 207 days. He replaces Robson-Kanu.
88' GOAL - Wales are level! Aaron Ramsey pokes home from a tight angle after a beautifully weighted pass by Bellamy put him in down the left side of the area.
Wales have kept just one clean sheet in 10 matches versus the Belgians.
Belgium are on a run of nine internationals without defeat - winning seven.
Reading defender Chris Gunter became the youngest Welshman to reach 50 caps at the age of 24.
Craig Bellamy made his 78th and final appearance for Wales.
Liverpool youngster Harry Wilson came off the bench to become his country's youngest ever player at the age of 16 years and 207 days.
TALKING POINT - Will Coleman stay on as Wales boss? With talks over extending his contract having stalled, the performance was encouraging - but will that be enough to impress the Welsh FA's hierarchy? The Dragons have some talented youngsters at their disposal and there is a belief that they can be the generation to end the country's long wait to appear at a high profile tournament. But will Coleman be at the helm?
MAN OF THE MATCH
Wayne Hennessey (Wales): An inspired display by the keeper who produced a string of top class saves to keep his side in the game prior to Ramsey's late leveller.
Belgium: Courtois 6, Alderweireld 7, Van Buyten 6, Vermaelen 6, Pocognoli 6, Witsel 7, Dembele 6, Chadli 6, De Bruyne 7, Mirallas 7, Lukaku 8; Subs: Hazard 7, Vertonghen 6, Bakkali 6.
Wales: Hennessey 9, Taylor 6, Gunter 6, Collins 7, Richards 6, Vaughan 6, King 6, Bellamy 7, Church 6, Ramsey 7, Robson-Kanu 6; Subs: Wilson.J 5, Vokes 6, Wilson. H 5.