There are two different ways you can convert saltwater into freshwater. Water filters perform an excellent job of trapping the salt particles as the water passes through. The water filter contains a special membrane known as reverse osmosis. The other option is to boil the water, allow it to evaporate, and discard the salt. You can then collect the water and condense it back. The method is called desalination.