With the arrangements of vortex generators (VG) and ramp, film cooling effects on endwall near leading edge were numerically investigated at two blowing ratios (i.e. M = 0.5 and M = 1). To determine suitable numerical methods, mesh independency analysis and turbulence model selection were carried out based on the existing experimental data and LES results. With the numerical methods, flow fields near the leading edge were visualized to illustrate the influence of VG and ramp on coolant coverage on blade endwall. Film cooling effectiveness distributions on endwall and coolant trajectories near leading edge were compared among five different configurations with VG and ramp. The results show that the attachment of coolant on blade endwall is improved with the implement of VG between shaped-hole and leading edge. With the implementation of ramp on endwall between cooling hole and leading edge, the coolant spreads wider on endwall along pitchwise direction than the baseline case. With the implementation of VG and ramp, film cooling effect on endwall near leading edge is significantly improved as compared with the only ramp and only VG cases. Compared with the baseline case, pitchwise-averaged film cooling effectiveness on blade endwall near leading edge is increased by about 9%, and the film cooling effectiveness distributions on endwall along pitchwise direction become much uniform, for the case with both ramp and VG at M = 1.