XML 113 R91.htm IDEA: XBRL DOCUMENT
v3.25.1

Long-term debt - Additional Information (Details) | 1 Months Ended | 12 Months Ended |  |  |  |  |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Nov. 30, 2021 USD ($) | Jun. 30, 2020 CNY (¥) | Jun. 30, 2020 USD ($) | Apr. 30, 2019 CNY (¥) | Apr. 30, 2019 USD ($) | Dec. 31, 2024 CNY (¥) | Dec. 31, 2024 USD ($) | Dec. 31, 2023 CNY (¥) | Dec. 31, 2023 USD ($) | Dec. 31, 2022 CNY (¥) shares | Dec. 31, 2022 USD ($) shares | Dec. 31, 2021 CNY (¥) shares | Dec. 31, 2021 USD ($) shares | Dec. 31, 2024 USD ($) | Dec. 31, 2023 USD ($) | Jan. 31, 2023 CNY (¥) | Jan. 31, 2023 USD ($) | Dec. 31, 2022 USD ($) | Nov. 30, 2021 CNY (¥) | Nov. 30, 2021 USD ($) $ / shares | Jun. 30, 2020 USD ($) | Jun. 01, 2020 $ / shares | Apr. 30, 2019 USD ($) | Apr. 01, 2019 $ / shares
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-term debt principal amount |  |  |  |  |  | ¥ 95,692,000 |  | ¥ 652,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Unamortized debt issuance costs |  |  |  |  |  | (539,000) |  | (6,000) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Gain (loss) on repurchase of debt instrument |  |  |  |  |  | (38,629,000) | $ (5,292,000) | 292,213,000 |  | ¥ 1,318,594,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt, Maturity, Year One |  |  |  |  |  | 500,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-term debt, Maturity, Year two and three |  |  |  |  |  | 96,700,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-term debt, Maturity, After year three |  |  |  |  |  | 0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-term bank loans |  |  |  |  |  | 3,069,000,000 |  |  |  |  |  |  |  | $ 420,500,000 |  |  |  |  |  |  |  |  |  |
Fair Value, Inputs, Level 2 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-term debt, Fair value |  |  |  |  |  | 96,100,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
April 2026 Notes [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-term debt principal amount |  |  |  |  |  | ¥ 86,300 |  | 3,040,900,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 500,000,000 |
Long-term debt interest rate |  |  |  | 1.375% |  | 1.74% |  |  |  |  |  |  |  | 1.74% |  |  |  |  |  |  |  |  | 1.375% |
Proceeds from issuance of Long-term Debt, net of issuance cost |  |  |  | ¥ 3,356,100,000 | $ 488,200,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-term debt issuance cost |  |  |  | ¥ 81,100,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 11,800,000 |
Unamortized debt issuance costs |  |  |  |  |  | ¥ 400 |  | 23,600,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest expense debt |  |  |  |  |  | 13,100,000 | 1,800,000 |  | $ 7,400,000 |  | $ 7,300,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Debt conversion, Original debt, Amount | $ |  |  |  |  |  |  |  |  |  |  | 14,000 |  | $ 70,600,000 |  |  |  |  |  |  |  |  |  |  |
Debt instrument repurchased face amount |  |  |  |  |  | 3,000,000,000 |  |  |  |  |  |  |  | $ 429,300,000 |  |  |  |  |  |  |  |  |  |
Repayments of notes payable |  |  |  |  |  | 3,000,000,000 | 429,300,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Gain (loss) on repurchase of debt instrument |  |  |  |  |  | (21,000,000) | (3,000,000) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-term bank loans |  |  |  |  |  |  |  | 3,017,339,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
2027 Notes [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-term debt principal amount |  |  |  |  |  | ¥ 700,000 |  | 700,000 |  |  |  |  |  |  |  |  |  |  |  |  | $ 800,000,000 |  |  |
Long-term debt interest rate |  | 1.25% |  |  |  | 1.52% |  |  |  |  |  |  |  | 1.52% |  |  |  |  |  |  | 1.25% |  |  |
Proceeds from issuance of Long-term Debt, net of issuance cost |  | ¥ 5,594,800,000 | $ 786,100,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-term debt issuance cost |  | ¥ 98,600,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 13,900,000 |  |  |
Debt instrument repurchase face amount percentage |  | 100.00% | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Unamortized debt issuance costs |  |  |  |  |  | ¥ 4,200 |  | 5,700 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest expense debt |  |  |  |  |  | 9,800 | 1,400 |  | 5,000,000 |  | 11,800,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Debt conversion, Original debt, Amount | $ |  |  |  |  |  |  |  |  |  |  |  |  | $ 1,000 |  |  |  |  |  |  |  |  |  |  |
Debt instrument repurchased face amount |  |  |  |  |  |  |  | 5,300,000,000 |  | 385,700,000 |  |  |  |  | $ 745,900,000 |  |  | $ 54,000,000 |  |  |  |  |  |
Repayments of notes payable |  |  |  |  |  |  |  | 5,300,000,000 | 745,900,000 | 352,000,000 | 49,300,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Gain (loss) on repurchase of debt instrument |  |  |  |  |  |  |  | (54,000,000) | (7,600,000) | 29,300,000 | 4,100,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Long-term bank loans |  |  |  |  |  | 657,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
December 2026 Notes [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-term debt principal amount |  |  |  |  |  | ¥ 95,600,000 |  | 3,062,600,000 |  |  |  |  |  |  |  | ¥ 2,600,000,000 | $ 384,800,000 |  |  | $ 1,600,000,000 |  |  |  |
Long-term debt interest rate |  |  |  |  |  | 0.80% |  |  |  |  |  |  |  | 0.80% |  |  |  |  | 0.50% | 0.50% |  |  |  |
Proceeds from issuance of Long-term Debt, net of issuance cost | $ 1,576,600,000 |  |  |  |  |  |  |  |  |  |  | ¥ 10,100,000,000 |  |  |  |  |  |  |  |  |  |  |  |
Long-term debt issuance cost |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | ¥ 149,600,000 | $ 23,400,000 |  |  |  |
Unamortized debt issuance costs |  |  |  |  |  | ¥ 500,000 |  | 26,200,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest expense debt |  |  |  |  |  | 22,400,000 | 3,100,000 |  | 3,600,000 |  | 11,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument repurchased face amount |  |  |  |  |  | 3,000,000,000 |  | 104,000,000 |  | 5,200,000,000 |  |  |  | $ 419,100,000 | 14,500,000 |  |  | $ 768,300,000 |  |  |  |  |  |
Repayments of notes payable |  |  |  |  |  |  | 419,100,000 | 93,300,000 | 13,000,000 | 3,800,000,000 | 568,600,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Gain (loss) on repurchase of debt instrument |  |  |  |  |  | (17,700,000) | $ (2,500,000) | 9,800,000 | 1,400,000 | ¥ 1,289,500,000 | $ 190,300,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Long-term bank loans |  |  |  |  |  |  |  | 3,036,428,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Convertible Senior Notes Due April 2027 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amount of covertible debt |  |  |  |  |  | 700,000 |  |  |  |  |  |  |  | 91,400 |  |  |  |  |  |  |  |  |  |
Notes Payable to Banks [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Debt, Maturity, Year One |  |  |  |  |  | 31,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-term bank loans |  |  |  |  |  | 31,000,000 |  |  |  |  |  |  |  | 4,200,000 |  |  |  |  |  |  |  |  |  |
Group long term loans from bank |  |  |  |  |  | ¥ 3,100,000,000 |  |  |  |  |  |  |  | $ 424,700,000 |  |  |  |  |  |  |  |  |  |
American Depository Shares [Member] | April 2026 Notes [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-term debt principal amount | $ |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 1,000 |
Convertible debt, conversion rate |  |  |  | 40.404 | 40.404 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Convertible debt, conversion price | $ / shares |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 24.75
Debt conversion, Converted instrument, Shares issued | shares |  |  |  |  |  |  |  |  |  | 565 | 565 | 2,854,253 | 2,854,253 |  |  |  |  |  |  |  |  |  |  |
American Depository Shares [Member] | 2027 Notes [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-term debt principal amount | $ |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 1,000 |  |  |
Convertible debt, conversion rate |  | 24.5516 | 24.5516 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Convertible debt, conversion price | $ / shares |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 40.73 |  |
Debt conversion, Converted instrument, Shares issued | shares |  |  |  |  |  |  |  |  |  |  |  | 24 | 24 |  |  |  |  |  |  |  |  |  |  |
American Depository Shares [Member] | December 2026 Notes [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-term debt principal amount | $ |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 1,000 |  |  |  |
Convertible debt, conversion rate | 10.6419 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Convertible debt, conversion price | $ / shares |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 93.97 |  |  |  |
Debt instrument repurchased face amount |  |  |  |  |  |  |  | 2,600,000,000 |  |  |  |  |  |  | 384,800,000 |  |  |  |  |  |  |  |  |
Debt instrument repurchased amount |  |  |  |  |  |  |  | 2,200,000,000 |  |  |  |  |  |  | $ 331,200,000 | ¥ 2,200,000,000 | $ 331,200,000 |  |  |  |  |  |  |
Gain (loss) on repurchase of debt instrument |  |  |  |  |  |  |  | ¥ 336,500,000 | $ 49,500,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-term debt due in more than one year [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Average interest rate |  |  |  |  |  | 2.40% |  |  |  |  |  |  |  | 2.40% |  |  |  |  |  |  |  |  |  |

X
- Definition Average interest rate. + References No definition available. + Details
Name: | bili_AverageInterestRate
Namespace Prefix: | bili_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt instrument repurchase face amount percentage + References No definition available. + Details
Name: | bili_DebtInstrumentRepurchaseFaceAmountPercentage
Namespace Prefix: | bili_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Group long term loans from bank. + References No definition available. + Details
Name: | bili_GroupLongTermLoansFromBank
Namespace Prefix: | bili_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Long term debt maturities repayments of principal after year three. + References No definition available. + Details
Name: | bili_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearThree
Namespace Prefix: | bili_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash inflow from a debt initially, net of issuance cost, having maturity due after one year or beyond the operating cycle, if longer. + References No definition available. + Details
Name: | bili_ProceedsFromIssuanceOfLongTermDebtNetOfIssuanceCost
Namespace Prefix: | bili_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The portion of the carrying value of long-term convertible debt as of the balance sheet date that is scheduled to be repaid within one year or in the normal operating cycle if longer. Convertible debt is a financial instrument which can be exchanged for a specified amount of another security, typically the entity's common stock, at the option of the issuer or the holder. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_ConvertibleDebtCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The number of shares issued in exchange for the original debt being converted in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or payments in the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482913/230-10-50-3 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482913/230-10-50-5 + Details
Name: | us-gaap_DebtConversionConvertedInstrumentSharesIssued1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of the original debt being converted in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482913/230-10-50-3 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482913/230-10-50-5 + Details
Name: | us-gaap_DebtConversionOriginalDebtAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The price per share of the conversion feature embedded in the debt instrument. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-5 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionPrice1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Ratio applied to the conversion of debt instrument into equity with equity shares divided by debt principal amount. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(5)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-3 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-7 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-6 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionRatio1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69B Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69C Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69B Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69C Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69E -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69E Reference 8: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69F -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69F Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 11: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1E Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1E Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1E Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1I -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1I Reference 26: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 Reference 27: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 + Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value amount of debt instrument that was repurchased. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentRepurchaseAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Face (par) amount of the original debt instrument that was repurchased. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentRepurchasedFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of unamortized debt discount (premium) and debt issuance costs. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69B Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69C Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-4 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-1A + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after accumulated amortization, of debt issuance costs classified as noncurrent. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-1A Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 + Details
Name: | us-gaap_DeferredFinanceCostsNoncurrentNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of gain (loss) from the difference between the repurchase price of a debt instrument initially issued by the entity and the net carrying amount of the debt at the time of its repurchase. + References No definition available. + Details
Name: | us-gaap_GainLossOnRepurchaseOfDebtInstrument
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of the cost of borrowed funds accounted for as interest expense for debt. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(8)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69E -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69E Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69F -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69F Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-6 + Details
Name: | us-gaap_InterestExpenseDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt classified as current. Excludes lease obligation. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(20)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LongTermDebtCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fair value amount of long-term debt whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_LongTermDebtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in second and third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 1 -SubTopic 10 -Topic 470 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481544/470-10-50-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1E + Details
Name: | us-gaap_LongTermDebtMaturingInYearsTwoAndThree
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-3 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1E Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 1 -SubTopic 10 -Topic 470 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481544/470-10-50-1 + Details
Name: | us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Carrying value as of the balance sheet date of loans from a bank with maturities initially due after one year or beyond the operating cycle if longer, excluding current portion. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(13)(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 + Details
Name: | us-gaap_LongTermLoansFromBank
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash outflow for a borrowing supported by a written promise to pay an obligation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 15 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-15 + Details
Name: | us-gaap_RepaymentsOfNotesPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=bili_ConvertibleSeniorNotesDueAprilTwoThousandTwentySixMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=bili_ConvertibleSeniorNotesDueTwoThousandTwentySevenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=bili_ConvertibleSeniorNotesDueDecemberTwoThousandTwentySixMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=bili_ConvertibleSeniorNotesDueAprilTwoThousandTwentySevenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_NotesPayableToBanksMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=dei_AdrMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=bili_LongTermDebtDueInMoreThanOneYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |