* Alibaba could raise as much as $20 bln, sources previously said
* Would come about five years after record $25 bln NY float
* Listing would boost funds for tech investment (Adds context)
HONG KONG, June 13 (Reuters) - Chinese e-commerce giant Alibaba Group Holding Ltd has filed confidentially for a Hong Kong listing that will take place as soon as the third quarter of this year, a person with direct knowledge of the matter told Reuters.
The listing could raise as much as $20 billion, sources said last month, smaller than its record $25 billion float in New York five years ago.
At that time, founder Jack Ma expressed a desire to list in the Hong Kong but the tech firm's management structure clashed with bourse rules. The stock exchange there has since changed its listing rules, primarily to attract China's tech startups.
The latest deal would be the biggest follow-on share sale globally in seven years and give Alibaba ample funds for technology investment - a priority for China as economic growth flags and a trade spat with the United States intensifies.
Alibaba declined to comment on the deal when contacted by Reuters. The person with knowledge of the matter was not authorised to speak with media and so declined to be identified. News of the filing was first reported by Bloomberg.
Investment banks China International Capital Corp Ltd and Credit Suisse Group AG are leading the deal. The banks did not immediately respond to Reuters requests for comment. No other banks have been formally mandated as yet.
The filing comes amid growing political unrest in Hong Kong this week that raised concerns over the potential impact on the city's financial market and businesses.
Thousands of protesters have taken to the streets in the southern Chinese territory this week over a planned extradition agreement with mainland China.
Logistics real estate developer ESR Cayman Ltd on Thursday pulled what would have been the largest Hong Kong listing so far this year due to weak demand, two people with direct knowledge of the matter said.
One person with direct knowledge of the matter said earlier the deal was more likely to be $10 billion to $15 billion.
At $20 billion, the deal would be the sixth-biggest follow-on share sale ever, Refinitiv data showed.
Since its U.S. listing, Alibaba has nearly doubled in size to become the largest-listed Chinese company with a market value of more than $400 billion.
Listing in Hong Kong would give mainland Chinese investors their first direct access to one of the country's biggest success stories, via the stock connect trading link between Hong Kong, Shanghai and Shenzhen.
(Reporting by Julie Zhu in Hong Kong; Additional reporting by Mekhla Raina in Bengaluru; Writing by Jennifer Hughes; Editing by Saumyadeb Chakrabarty and Christopher Cushing)