Smaller protests also occurred in other Indonesian cities, including in Surabaya, Makassar, Medan and Bandung.
On Saturday, Indonesian President Joko Widodo strongly condemned terrorist attacks in Paris and Nice as well as remarks by French President Emmanuel Macron that were deemed offensive toward Islam and Muslims.
Widodo said freedom of expression that tarnishes the honor, sanctity and sacredness of religious values and symbols could not be justified and must be stopped.
"Linking religion with terrorist acts is a big mistake," Widodo said. "Terrorism is terrorism, terrorists are terrorists, terrorism has nothing to do with any religion."