Information about Segments and Geographic Areas - Operating Income (Loss) by Segment (Details) - USD ($) $ in Millions |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2023 |
Jun. 30, 2022 |
Jun. 30, 2023 |
Jun. 30, 2022 |
|
| Segment Reporting Information [Line Items] | ||||
| Segment operating income (loss) | $ 21,838 | $ 19,453 | $ 39,253 | $ 39,547 |
| Operating Segments | Google Services | ||||
| Segment Reporting Information [Line Items] | ||||
| Segment operating income (loss) | 23,454 | 21,621 | 45,191 | 43,594 |
| Operating Segments | Google Cloud | ||||
| Segment Reporting Information [Line Items] | ||||
| Segment operating income (loss) | 395 | (590) | 586 | (1,296) |
| Operating Segments | Other Bets | ||||
| Segment Reporting Information [Line Items] | ||||
| Segment operating income (loss) | (813) | (1,339) | (2,038) | (2,174) |
| Reconciling items | ||||
| Segment Reporting Information [Line Items] | ||||
| Segment operating income (loss) | $ (1,198) | $ (239) | $ (4,486) | $ (577) |