What is the Best way to earn money online? The secret is all in the code. Google adsense is a great way to make money online. Do affiliates work? Blogs that make the most money know what keywords to use and how to code the ads. Make sure you write plenty of articles to optimize the search words. The ad colors can make a big difference so you need to experiment to see what will give you the most clicks. What size ad works best? Have fun and make money!