v3.23.3
Restructuring - Restructuring and Related Costs (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended 12 Months Ended
Sep. 30, 2023
Sep. 30, 2022
Sep. 30, 2023
Sep. 30, 2022
Dec. 31, 2022
Restructuring Cost and Reserve [Line Items]          
Share-based payment arrangement, expense $ 3,492 $ 3,134 $ 10,603 $ 8,984  
2022 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges 344   1,148    
Facilities Consolidation | 2022 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges 352   1,406    
Severance and Other Personnel Costs | 2023 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges 36   1,155    
Share-based payment arrangement, expense     99    
Severance and Other Personnel Costs | 2022 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges 4   (26)   $ 975
Data Center Assets | 2022 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges (12)   (232)    
Cost of revenue          
Restructuring Cost and Reserve [Line Items]          
Share-based payment arrangement, expense 183 209 536 582  
Cost of revenue | 2022 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges 13   (140)    
Cost of revenue | Facilities Consolidation | 2022 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges 25   92    
Cost of revenue | Severance and Other Personnel Costs | 2022 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges 0   0    
Cost of revenue | Data Center Assets | 2022 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges (12)   (232)    
Research and development          
Restructuring Cost and Reserve [Line Items]          
Share-based payment arrangement, expense 2,881 2,447 8,635 6,995  
Research and development | 2022 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges 230   862    
Research and development | Facilities Consolidation | 2022 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges 228   871    
Research and development | Severance and Other Personnel Costs | 2023 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges (72)   394    
Research and development | Severance and Other Personnel Costs | 2022 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges 2   (9)    
Research and development | Data Center Assets | 2022 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges 0   0    
Marketing and sales          
Restructuring Cost and Reserve [Line Items]          
Share-based payment arrangement, expense 219 260 727 766  
Marketing and sales | 2022 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges 55   232    
Marketing and sales | Facilities Consolidation | 2022 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges 54   233    
Marketing and sales | Severance and Other Personnel Costs | 2023 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges 69   291    
Marketing and sales | Severance and Other Personnel Costs | 2022 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges 1   (1)    
Marketing and sales | Data Center Assets | 2022 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges 0   0    
General and administrative          
Restructuring Cost and Reserve [Line Items]          
Share-based payment arrangement, expense 209 $ 218 705 $ 641  
General and administrative | 2022 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges 46   194    
General and administrative | Facilities Consolidation | 2022 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges 45   210    
General and administrative | Severance and Other Personnel Costs | 2023 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges 39   470    
General and administrative | Severance and Other Personnel Costs | 2022 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges 1   (16)    
General and administrative | Data Center Assets | 2022 Restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring charges $ 0   $ 0