Translation guide
The English phrase 'such as' is used to introduce examples. In Japanese, this is most commonly expressed with the particle や (ya) for non-exhaustive lists, or など (nado) meaning 'etc.' or 'and so on'. For more formal or written contexts, 例えば (tatoeba) meaning 'for example' is used. The choice depends on whether you are listing items or giving a specific example.
To give a few examples from a larger set, implying there are others.
Use the particle や between nouns to list examples. Adding など at the end emphasizes that the list is not exhaustive. This is the most natural and common way to say 'such as' in everyday Japanese.
I eat things such as fruit and vegetables.
I want to live in big cities such as Tokyo and Osaka.
The particle とか is more casual than や and is often used in conversation. It can also be used with verbs and adjectives, not just nouns.
On my days off, I do things such as watch movies or go shopping.
など means 'and so on' or 'etc.' It can be attached directly after a noun or a list of nouns to indicate examples. It is often used with や but can stand alone.
There are things such as books and pens on the desk.
To introduce one or more concrete examples, often to clarify a statement.
This adverb means 'for example' and is used to introduce a specific instance. It is common in both spoken and written Japanese.
I like Japanese food. For example, sushi and ramen.
This pattern means 'B such as A' or 'B like A'. It is used to give an example of a category. のような is the attributive form of ようだ (like).
Big cities such as Tokyo have a high cost of living.
This pattern is used to quote an example as a representative of a category, often with a nuance of 'things like A'. It is more formal and less common in daily speech.
Words such as 'omoiyari' (compassion) are beautiful, aren't they?
や is neutral and can be used in both formal and informal contexts. とか is more casual and conversational. とか can also be used with verbs and adjectives, while や is primarily for nouns.
I drink things such as coffee and tea.
I drink things like coffee and tea. (casual)
Do not directly translate 'such as' word-for-word. Phrases like そのような (sono you na) can mean 'such' but are not used to introduce examples in the same way. Stick to the patterns above.
I enjoy outdoor activities such as hiking and camping.
There are many problems, such as pollution and traffic jams.