Supplemental Financial Statement Information - Accrued Expenses and Other Current Liabilities (Details) - USD ($) $ in Millions |
Dec. 31, 2022 |
Dec. 31, 2021 |
|---|---|---|
| Balance Sheet Components Disclosure [Abstract] | ||
| European Commission fines | $ 9,106 | $ 9,799 |
| Accrued customer liabilities | 3,619 | 3,505 |
| Accrued purchases of property and equipment | 3,019 | 2,415 |
| Current operating lease liabilities | 2,477 | 2,189 |
| Other accrued expenses and current liabilities | 19,645 | 14,136 |
| Accrued expenses and other current liabilities | $ 37,866 | $ 32,044 |
| Operating Lease, Liability, Current, Statement of Financial Position [Extensible List] | Accrued expenses and other current liabilities | Accrued expenses and other current liabilities |