In the 1690s the Chinese mixed together a concoction of pickled fish and spices and called it kôe-chiap or kê-chiap meaning the brine of pickled fish or shellfish.
By the early 18th century, the table sauce had made it to the Malay states (present day Malaysia and Singapore), where it was discovered by British explorers, and by 1740, it had become a British staple. The Malay word for the sauce was kechap. That word evolved into the English word "ketchup".
Many variations of ketchup were created, but the tomato-based version did not appear until about a century after other types. By 1801, a recipe for tomato ketchup was created by Sandy Addison and was later printed in an American cookbook, the Sugar House Book.
1.Get [the tomatoes] quite ripe on a dry day, squeeze them with your hands till reduced to a pulp, then put half a pound of fine salt to one hundred tomatoes, and boil them for two hours. 2.Stir them to prevent burning. 3.While hot press them through a fine sieve, with a silver spoon till nought but the skin remains, then add a little mace, 3 nutmegs, allspice, cloves, cinnamon, ginger, and pepper to taste. 4.Boil over a slow fire till quite thick, stir all the time. 5.Bottle when cold. 6.One hundred tomatoes will make four or five bottles and keep good for two or three years.
The salt in this recipe, which served as a preservative, yields an extremely salty taste. This recipe is important because tomato was not widely accepted by people in North America in the early 1800s. Many people believed, incorrectly, tomatoes were poisonous.
James Mease published another recipe in 1812. In 1824, a ketchup recipe using tomatoes appeared in The Virginia Housewife (an influential 19th-century cookbook written by Mary Randolph, Thomas Jefferson's cousin). American cooks also began to sweeten ketchup in the 19th century.
As the century progressed, tomato ketchup began its ascent in popularity in the United States. Ketchup was popular long before fresh tomatoes were. Many Americans continued to question whether it was safe to eat raw tomatoes. However, they were much less hesitant to eat tomatoes as part of a highly processed product that had been cooked and infused with vinegar and spices.
Tomato ketchup was sold locally by farmers. A man named Jonas Yerks (or Yerkes) is believed to have been the first man to make tomato ketchup a national phenomenon. By 1837, he had produced and distributed the condiment nationally. Shortly thereafter, other companies followed suit. F. & J. Heinz launched their tomato ketchup in 1876. Heinz tomato ketchup was advertised: "Blessed relief for Mother and the other women in the household!", a slogan which alluded to the lengthy and onerous process required to produce tomato ketchup in the home.
The Webster's Dictionary of 1913 defined ‘catchup’ as: “table sauce made from mushrooms, tomatoes, walnuts, etc. [Also written as ketchup].”
Modern ketchup emerged in the early years of the 20th century, out of a debate over the use of sodium benzoate as a preservative in condiments. Harvey W. Wiley, the "father" of the Food and Drug Administration in the U.S., challenged the safety of benzoate which was banned in the 1906 Pure Food and Drug Act. In response, entrepreneurs including Henry J. Heinz, pursued an alternative recipe that eliminated the need for that preservative.
Prior to Heinz (and his fellow innovators), commercial tomato ketchups of that time were watery and thin, in part due to the use of unripe tomatoes, which were low in pectin. They had less vinegar than modern ketchups; by pickling ripe tomatoes, the need for benzoate was eliminated without spoilage or degradation in flavor. But the changes driven by the desire to eliminate benzoate also produced changes that some experts (such as Andrew F. Smith) believe were key to the establishment of tomato ketchup as the dominant American condiment.