Ryan Braun drove in Milwaukee's other two runs to give him 98 RBIs, which leads the National League. The reigning NL MVP is looking for his fifth straight season with 100 RBIs.
It's Stanton's second consecutive 30-homer season despite missing 30 games following knee surgery in July. He hit 34 in 2011 after hitting 22 as a rookie.
Stanton's estimated 436-foot drive off Shawn Marcum pulled Miami to 3-2. Hernandez's two-run shot off the top of the wall in left-centre, gave the Marlins a 4-3 lead. Hernandez homered for the first time in his 90th Major League at-bat.
John Axford got one out for his 24th save.
Aoki's RBI double in the seventh inning off Dunn broke a 4-all tie before Braun gave the Brewers a 5-4 lead with an infield hit scoring Nyjer Morgan.
Bianchi's three-run home run stretched the Brewers lead to 8-4 in the eighth.
Loe retired the only batter he faced to pick up the win in relief of Shawn Marcum, who allowed four runs in 5 2-3 innings for the Brewers.
Aoki hit a two-run shot in the second, his seventh.
Marlins starter Wade LeBlanc allowed three runs in six innings.
NOTES: Aoki is batting .419 (13 for 31) during an eight-game hitting streak. ... Miami manager Ozzie Guillen would like to see RHP Heath Bell as the closer in 2013 after losing his job to RHP Steve Cishek at the All-Star break. "I hope and I wish Bell is our closer next year," Guillen said. "Our whole ballclub is better when Bell is the closer. There's no doubt in my mind that if this kid pitches well our bullpen is going to be stronger." ... Miami transferred RHP JC Oviedo to the 60-day disabled list and selected the contract of RHP A.J. Ramos from Double-A Jacksonville. Ramos struck out Rickie Weeks, Braun, and Aramis Ramirez in his debut. ... Milwaukee RHP Wily Peralta (0-0, 9.00 ERA) will make his first major league start on Wednesday after making his debut in April. "I'm very excited to start, that's what I've been doing my whole career in the minor leagues," Peralta said. "The first time I came out of the bullpen and felt a little weird, but now I'm on my normal routine." Peralta will oppose Marlins RHP Nathan Eovaldi (4-10, 4.48 ERA), who is 3-4 with a 5.03 ERA in seven starts with the Marlins.