Guide:Maintaining world purity

Overview
Prior to the activation of Hardmode, which is activated being defeating the Wall of Flesh, there lies only a few, relatively small areas of Corruption (or Crimson) on a world. However, once Hardmode is activated, two large strips of both Hallow and Corruption/Crimson appear cutting through the entire world diagonally, reaching from the Underworld to even Sky Islands in its path. Not only that, but the Hallow and Corruption/Crimson generated (as well as existing areas) will spread rapidly through any grass, sand, and stone nearby, and given enough time, both can consume the whole map.

Dealing with the strips that generate upon defeating the WoF (Wall of Flesh) would be difficult and time consuming on its own, but to get the hardmode ores you would have to indirectly help the spread. Upon smashing a Demon/Crimson alter with the Pwnhammer (Or more powerful tools later on in the game), there is a chance of a single block of your world turning Hollowed or Corrupt(Crimson)in a random place, which given enough time, will spread to form new, large areas to deal with.

Here is a quick description of each hardmode biome and how they work:

Corruption/Crimson
In hardmode the Corruption(or Crimson) spreads far more rapidly and is no longer stopped by mere sunflowers. It will corrupt everything in its path, besides the Hallow and non-corruptible blocks such as bricks and wood. In the hardmode Corruption, Corrupters used to spawn and, as their name suggests, help spread corruption, but that is no longer true as of 1.2. Corruption is also not stopped by the Jungle. If given enough time, the corruption can destroy the entire jungle.

There are not many differences between how the Corruption and Crimson work besides that the Crimson does not have any Crimson-spreading enemies.

The Hallow
Despite its friendly looks, the Hallow is only slightly less dangerous than the Corruption or Crimson. It spreads almost completely in the same way as the Corruption except that it cannot spread through the Jungle. Because of this, many players consider it the "light" Corruption. However, if you do not want to take action for keeping your base pure, Hallow is a better choice than corruption, so you may want to plant some Hallowed Seeds. The Hallow does not uproot or prevent native forest plants from growing nor prevent NPCs from moving in as opposed by the Corruption.

Details

 * Both the Hallow and Corruption/Crimson cannot convert each other. So corruption surrounded by hallow will not spread, and likewise the other way around.
 * Neither biome can convert or go through any block besides grass, stone, sand and ice. So digging up a strip of dirt and replacing it with, say, wood would stop its spreading. The grass can spread up to normal grass up to 5 blocks away and the stone, sand, and ice variants can only convert up to three blocks away.
 * If you wish to save your Jungle, spreading Hallow around it as a barrier will prevent it from being corrupted.
 * The Dungeon can completely prevent the spread of Hallow and Corruption/Crimson if it reaches down to the Underworld. If it doesn't reach that far, it will at least slow it down.
 * Floating Islands CAN be turned Hallowed or Corrupted during the initial generation from Hardmode, or if converted blocks are placed near them.

Containment
If you do not wish to have your world turned into just Hallowed and Corruption(or Crimson) or even if you want to completely purify your world, containment is key. A simple and also the best way of containment is making straght tunnels from the surface down to the Underworld (commonly called Hellevators) that are three block wide. An easier way would be to place block from the opposite biome of what your are containing around it(Example: Surrounding the Corruption with Hallowed) to stop the spread. The obvious drawback to this plan is that you will have to deal with the biome your are using to contain the other biome with.

Complete Conversion
To completely purify, cleanse, or corrupt your entire world you will need the Clentaminator. If you wish to spread Hallow to all of the world and stomp out the Corruption (and same other way around) you can buy the Blue Solution(For spreading Hallow), Purple Solution (For spreading Corruption), or Red Solution (For spreading Crimson). If you want to purify your world (Remove all Hallow AND Corruption/Crimson) you would need Green Solution All you have to do it spray the device over all unwanted blocks until the biome you do not want is completely gone. Much easier said than done.

The best way to completely convert or purify your world is to dig Hellevators every 120 blocks away, glide down each one using wings or slowfall, and spray both sides. A drawback to using the Green Solution is that all the glowing mushroom biomes will be converted into Jungles. An easy way to fix this is to go back to each pocket of Jungle that was glowing mushrooms and spray all around it Dark Blue Solution from the Truffle. Because the Clentaminator also produce a decent amount of light that can completely go through blocks, you may want to make Hellevators every 80 blocks instead to completely map out your world, however with slow light.