Platinum (Pt) is inevitably employed to facilitate various electrocatalysis including hydrogen oxidation/evolution and oxygen reduction reactions (HOR/HER/ORR), the foundation for renewable energy conversion and storage. Pt-based high-entropy-alloy (HEA) catalysts have been recently presenting promises to improve intrinsic activity of unit mass Pt. However, their current synthesis methods always produce large particles—some can control small size but have to use complicated recipe and/or highly toxic and expensive chemicals. Alternatively, a facile microenvironment regulation strategy is herein proposed to tune solvent polarity and nanoparticle-support interactions within the precursors for carbon-thermal shock pyrolysis. We found that the decreased solvent polarity and enhanced particle-support affinity can jointly control the nanoparticle size ultimately to ~2.68nm with ~10wt % Pt loading. The compressed lattice fringe in such HEA particles leads to electron accumulation at Pt atoms and build a moderate charge density rearrangement, showing superior multifunctional HER/HOR/ORR activity to Pt/C in acidic media.