Anyway is an adverb that can mean “in any case” or “despite that.” It can also signal a return to the main topic. Any way is two words when way means a method, route, or manner.

Examples explained
Anyway.
The lid was stuck, but I tried opening the jar anyway.
Why it works: Here anyway means despite that.
Any way.
Is there any way to open this jar without a grip?
Why it works: Here any way means any method.
Notice when anyway changes the topic
Anyway, back to the recipe. The speaker uses one word to return to the recipe. In Arrange the jars any way you like, way names a manner of arranging them. Read the whole phrase to see which meaning fits.
Common mix-up
Try despite that or in any case for anyway. Try any method or any manner for any way. These are meaning clues, not substitutions that fit every sentence unchanged.
Quick check
Choose the word that fits each sentence.
- It was raining, but we walked to the library ___.
- Is there ___ to repair the broken handle?
Reveal the answers and explanations
1. Anyway. They went despite the rain.
2. Any way. The question asks whether any method of repair exists.