There are many good online dictionaries out there. The preeminent language resource of the German language with the definitive set of rules regarding grammar, spelling and use of German language is the Duden. I also recommend DWDS where you can find los of information on German words from the present and past. If you are looking for a contextual dictionary, try Reverso. There you’ll find lots of examples of words in context with translations from German into other languages.