[verb (plain form)] + かのようだ
[i-adj] + かのようだ
[na-adj] + である + かのようだ [na-adj] + な + かのようだ (less common)
[noun] + である + かのようだ [noun] + の + かのようだ (less common)
Modifying a noun: ~かのような + [noun]
Modifying a verb/adjective: ~かのように + [verb/adjective]
The grammar pattern かのようだ is used to express that something appears "as if" or "just like" something else, even though it is not actually the case. It creates a vivid simile or metaphor, comparing a real situation to an imagined or hypothetical one. It is more literary and formal than simply using ようだ alone, and the か adds a sense of hypothetical comparison ("as if it were…").
The pattern attaches to a clause as follows:
The かのよう portion can also be used as a な-adjective to modify nouns (かのような + Noun) or as an adverb (かのように + Verb/Adjective).
Describing something as if it were something else:
The word まるで ("just as if, exactly like") is very commonly paired with かのようだ to strengthen the comparison.
While ようだ can express both "it seems like" (conjecture) and "it's like" (comparison), かのようだ is used exclusively for hypothetical comparison. It emphasizes that the comparison is not literally true – the speaker is drawing an analogy. Because of this, かのようだ sounds more dramatic and literary.