Sri Lanka and Bhutan also strongly condemned the terror attack that left 18 soldiers dead and called for sustained regional and global cooperation to eliminate the menace of terrorism.
In a statement, German Foreign Minister Frank-Walter Steinmeier, without taking Pakistan's name, said every country is responsible for taking decisive action against terrorism emanating from its territory.
"Germany stands resolutely at India's side in the fight against terrorism. At the Indo-German counter terrorism consultations, which will take place in a few days' time, we will further discuss the threat to our two countries' societies," he said.
In its statement, Japan said it condemned terrorism in all forms regardless of its purposes, and strongly reiterated that no act of terrorism can be justified.
More From This Section
"Japan expresses its solidarity with India in the fight against terrorism," the Japanese Foreign Ministry said.
Strongly condemning the terror attack, Sri Lanka said there was an urgent need for sustained regional and global cooperation to eliminate the menace of terrorism.
Expressing solidarity, Bhutan said it stands with India in the fight against terrorism.
"Such heinous acts of terrorism call for the need to step up international cooperation to combat the scourge of terrorism that poses a severe threat to the peace and stability of all countries," the Bhutanese Foreign Ministry said in a statement.
The US, UK, Russia, France, Canada and Afghanistan have already condemned Sunday's attack.