How many HD do you have there ? Or if you HD has more than 1 partitions, then the fastest, easiest and cleanest way to defrag the page file (swap file) is to disable the swap file by setting it to 0 (zero) on the current boot drive/partition. Then again set the swap fle at other drive/partition just for temporary.
This will effectively clean your from drive from swap file without any hassle, and from here launch your favorite defragger and if it has an option to defrag + to make contiguous free space, choose this option and use it, this will defrag those ordinary files easily without that big chunks of swap file. Once the defragger finished the job, move back the swap file back to the previous drive/partition and don't forget to disable (set to zero) at that temporary disk/partition.
The newly create swap file on the fresh defragged drive will occupy the freed contiguous free space without any defragmentation, and although it sounds complicated, this will beat any defragger out there in term of speed & quality of the swap file defragmentation.
Also to avoid further defragmentation in the future, set the minimum and maximum size to equal, this will set the page file permanently at the place where it was created from the 1st time, and it won't grow anymore causing defragmentation in the future. If you don't use heavy memory programs and have say 4 or 8 GB of memory, "usually" a fixed page file size of 4096 MB or 8192 MB is more than enough.