v3.25.2
Cover - shares
6 Months Ended
Jun. 30, 2025
Jul. 17, 2025
Document Information [Line Items]    
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Jun. 30, 2025  
Document Transition Report false  
Entity File Number 001-39039  
Entity Registrant Name Cloudflare, Inc.  
Entity Incorporation, State or Country Code DE  
Entity Tax Identification Number 27-0805829  
Entity Address, Address Line One 101 Townsend Street  
Entity Address, City or Town San Francisco  
Entity Address, State or Province CA  
Entity Address, Postal Zip Code 94107  
City Area Code 888  
Local Phone Number 993-5273  
Title of 12(b) Security Class A Common Stock, $0.001 par value  
Trading Symbol NET  
Security Exchange Name NYSE  
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Filer Category Large Accelerated Filer  
Entity Small Business false  
Entity Emerging Growth Company false  
Entity Shell Company false  
Amendment Flag false  
Entity Central Index Key 0001477333  
Document Fiscal Period Focus Q2  
Document Fiscal Year Focus 2025  
Current Fiscal Year End Date --12-31  
Class A common stock    
Document Information [Line Items]    
Entity Common Stock, Shares Outstanding   312,872,178
Class B common stock    
Document Information [Line Items]    
Entity Common Stock, Shares Outstanding   35,609,409