Macron, who has made clear his differences with Trump notably on climate change, invited Trump and his wife Melania to attend the July 14 parade in Paris.
This year, the event will mark "the 100th anniversary of the US joining the war with French troops in World War I," an official in Macron's office said.
On July 14 last year, a radicalised Tunisian man killed 86 people as he rammed a truck through a crowd watching Bastille Day fireworks in the French Riviera city of Nice.
The 39-year-old Macron made his mark on the international stage when he gave Trump a white-knuckle handshake at a NATO summit on May 25.
He later mocked Trump's decision to pull the United States out of the 2015 Paris Agreement to combat climate change.
Macron's English-language appeal to "make our planet great again" -- a riff on Trump's own slogan of making America great again -- became a social media hit.