Earliest archaeological evidence of swastika-shaped ornaments dates back to the Indus Valley Civilization of Ancient India as well as Classical Antiquity. Swastikas have also been used in other various ancient civilizations around the world. It remains widely used in Indian religions, specifically in Hinduism, Buddhism and Jainism, primarily as a sacred symbol of good luck. The swastika is also a Chinese character used in East Asia representing eternity and Buddhism.
....
In Chinese and Japanese the swastika is also a homonym of the number 10,000, and is commonly used to represent the whole of Creation, e.g. 'the myriad things' in the Dao De Jing. During the Chinese Tang Dynasty, Empress Wu Zetian (684-704) decreed that the swastika would also be used as an alternative symbol of the Sun.
In Japan, the swastika is called manji. Since the Middle Ages, it has been used as a coat of arms by various Japanese families such as Tsugaru clan, Hachisuka clan or around 60 clans that belong to Tokugawa clan.[25] On Japanese maps, a swastika (left-facing and horizontal) is used to mark the location of a Buddhist temple. The right-facing manji is often referred to as the gyaku manji (逆卍, lit. "reverse manji") or migi manji (右卍, lit. "right manji") , and can also be called kagi jūji (literally "hook cross").