how do i create an import file to up load my categories

how do i create an import file to up load my categories.