The laws regarding homeschooling can be complex and vary widely from country to country. In some countries, such as France, England, Indonesia, and the United States, homeschooling is permitted by law. In other countries like Japan or Spain, laws are not so clear; homeschooling goes on but isn't formally permitted by existing laws. Other countries, including Germany and Brazil, ban homeschooling altogether.