A 'smartball' system has been developed whereby balls fitted with a microchip will send a signal to the referee when they have crossed the line.
"We will definitely use the technology in Germany if the experiment works," said Fifa president Sepp Blatter.
A decision will be made by world football's governing body in October.
The tournament, running from 16 September to 2 October, in Peru will host 32 matches at four venues each featuring the technology that has been developed to use the 'smartball' system.
If there are no incidents requiring the goal-line technology a special match will be arranged to take place at one of the stadiums.
Have Your Say
Is goalline technology the way forward?
Blatter added: "The International Board will attend that last week of the competition in Peru in order to see how the system works.
"This goal-line technology is enough. Football must keep its human face and must accept errors. If we start to make it too scientific this game will lose its fascination."

Computer chip embedded in ball
Pitchside sensors track movement
Decision relayed to ref by buzzer