Cooking for oneself; preparing one's own meals (commonly by people living alone or to save money).
大学生になってから自炊を始めた。
I started cooking for myself when I became a university student.
外食が続くと栄養が偏るので、週に何回かは自炊するようにしている。
Eating out too often leads to unbalanced nutrition, so I try to cook for myself a few times a week.
節約のために自炊する学生が増えている。
More students are cooking for themselves to save money.
Colloquial: scanning books or magazines to create your own e-book copies (an activity that requires caution regarding copyright).
古い漫画を自炊してスマホで読めるようにしたが、著作権には気をつけている。
I scanned old comics to read them on my phone, but I am careful about copyright.
自炊したデータはバックアップをとっておくと安心だ。
It's a good idea to back up the data you created by scanning books.