expression
anything; whatever; everything
Used as a noun or in expressions to mean 'any kind of thing', 'no matter what', or 'everything'. Often appears with particles like でも, も, or in phrases like 何でもない.
何でも好きなものを選んでいいよ。
You can choose anything you like.
彼は何でも知っている。
He knows everything.
adverb
Used at the beginning of a sentence to indicate that the following information is hearsay or something the speaker has heard. Often followed by そうだ or ということだ.
何でも、明日は雪が降るそうだ。
I hear it's going to snow tomorrow.
何でも、彼は来月引っ越すらしい。
Apparently, he's moving next month.