Prepare the necessary ingredients. If you don't have basil, you can omit it or replace it with other spices to taste.
In a high-sided pan, pour olive oil. Finely chop the onion and lightly fry it.
1 tbsp olive oil, 1 pc onion
Add finely chopped garlic and chili pepper, basil, black pepper. If you don't like spicy food, you can omit the pepper. Fry for a couple more minutes.
3 cloves garlic, ½ pc chili pepper, 1 pinch basil, 1 pinch pepper
Pour the tomatoes into a bowl and lightly mash with a fork. It is advisable to take a can of already peeled tomatoes or peel them beforehand. Put the mashed tomatoes in the pan to the onion.
400 g tomato
Mix, bring to a boil and simmer on low heat for 10-15 minutes. The tomatoes do not contain a lot of liquid, so there is no need to evaporate it.
Pour in lemon juice, add salt, sugar. The amount of sugar and lemon juice depends on the sweetness and acidity of the tomatoes used, adjust to taste. Blend the contents of the pan with an immersion blender until smooth.
1 pinch salt, 1 pinch sugar, 2 tsp lemon juice
Cool and serve. Homemade ketchup is so delicious that it can be eaten with almost anything, and also used as a sauce for making pizza.