The RE4Fe72B22M2 (RE=Y, Dy or Nd; M=Nb or Ta) alloys in ribbon and rod forms were prepared by melt spinning and water cooling copper mold casting methods, respectively. Amorphous structure was observed in all ribbon samples, but the results from rod samples indicated that the composition has an important effect on the glass formability. All rod samples with RE=Y or Nd were partly amorphous, while bulk metallic glass (BMG) rod with a diameter of 2 mm was obtained for the Dy4Fe72B22Nb2 alloy. The rare earth and doping elements on the glass formability have been discussed. The effects of post-annealing on the microstructure and magnetic properties of these alloys have been investigated. The results presented here provide a viable method to get fully dense bulk hard magnets.