Best programs to edit tile sets

What are the best software that could let me edit tiles sets in grid from this:


tnkr_edtr.png

(Image's credit goes to Nanikasira)

Into like this this:

$ani_policesuv1.png

(Image's credit goes to JGreene)

I'm struggling to align the images.

It will be much appreciated if the software is free. Thanks!
Personally, I use Gimp 2 which is free.




There's also the Affinity suite which is a one time purchase and they have a lot of support and tutorials as well.
Moved to: Useful Development Tools
If im not mistaken gimp has a grid system so you should definitely check it out
I use Pixlr E, it's a website

Original thread: https://forums.rpgmakerweb.com/threads/best-programs-to-edit-tile-sets.147291/