Youth career Born in
São Paulo, Danilo played youth football for
São Caetano,
Portuguesa,
Corinthians,
Ponte Preta and
Vasco da Gama, before joining the academy of
Santos. He scored seven goals and provided seven assists for the Santos under-20 team in the Paulista U-20 Championship in 2017.
Ajax On 7 September 2017, Danilo signed for Dutch club
Ajax after agreeing to a five-year deal. Ajax paid Santos a transfer fee of around €2 million. He was initially assigned to the Ajax under-19 team and the
Jong Ajax squad (the club's reserve team). On 25 March 2018, Danilo made his debut for Jong Ajax in a 1–0 defeat against
Jong AZ. He scored his first goal for Jong Ajax on 10 September 2018, in a game in Alkmaar against Jong AZ. He made his first-team debut for Ajax on 23 February 2020, as a substitute in an
Eredivisie game against
Heracles Almelo. Four days later, he scored on his first start for the club, in a
UEFA Europa League match against
Getafe. Danilo apologised to Ajax fans on social media after he was seen swapping shirts with Getafe player
Deyverson at half-time. On 14 August 2020, Danilo joined fellow Eredivisie side
Twente on a season-long loan deal. He scored 17 goals in the 2020–21 Eredivisie season, which was the fourth-highest total in the league that season. On 20 January 2022, he scored four goals for Ajax in a 9–0 win against
Excelsior Maassluis in the round of 16 of the
KNVB Cup.
Feyenoord On 19 May 2022,
Feyenoord announced that Danilo would sign a four-year contract with the club, joining on a
free transfer. He made his debut for the club on 7 August 2022, scoring the club's second and fourth goals in a 5–2 away win against
Vitesse. Feyenoord won the Eredivisie title in the 2022–23 season, with Danilo scoring 10 goals and providing three assists in 34 appearances in the league.
Rangers 2023-24 On 28 July 2023,
Rangers announced that Danilo had joined the club and signed a five-year contract for an undisclosed transfer fee. He made his debut for the club in a 1–0 defeat away to
Kilmarnock on 5 August 2023, as a 62nd minute substitute for
Cyriel Dessers. He scored his first goal for Rangers during a league match at home to
Livingston on 12 August 2023. Following this match Danilo scored against Greenock Morton in the Scottish League Cup. On 16 September 2023, Danilo suffered a collision with a
St Johnstone defender while scoring a goal and was taken to hospital with a suspected compound fracture in his skull. He scored what turned out to be winning goal against Hearts in the Scottish Premiership in October 2023 and followed this up with a goal in a five nil win over Dundee in November 2023. Danilo scored his first European goal for Rangers in a 2-1 win over Sparta Prague in the Europa League in November 2023. In a season curtailed through injury Danilo scored six goals in 21 appearances from all competitions.
2024-25 Danilo scored his first goal of the season against
Ross County in a 6-0 win in August 2024. On 4 December 2024, Danilo scored Rangers second goal in a 6-0 win against
Kilmarnock. Danilo followed this goal up with another strike in a 3-0 win over Ross County. On 15 December 2024, Danilo scored a late equaliser in the
League Cup final to take the game to extra-time. Danilo turned provider for team mate Cerny to score the winning goal against Dundee in December 2024. Another goal came for Danilo in a league match against St Mirren in December 2024 with the assist coming from Niko Raskin. Danilo scored Rangers third goal in a 3-0 win over Celtic in January 2025, the assist for the goal came from team mate Jefte. On 3 February 2026,
NEC Nijmegen announced Danilo joined them on loan with an option to buy until the end of the season. ==International career==