<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cik0002081515="http://cik0002081515/20260701"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:us-gaap="http://fasb.org/us-gaap/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="cik0002081515-20260701.xsd" xlink:type="simple"/>
    <context id="AsOf2026-07-01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002081515</identifier>
        </entity>
        <period>
            <startDate>2026-07-01</startDate>
            <endDate>2026-07-01</endDate>
        </period>
    </context>
    <context id="From2026-07-012026-07-01_custom_UnitsEachConsistingOfOneOrdinaryShare0.0001ParValueAndOnethirdOfOneRedeemableWarrantMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002081515</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">cik0002081515:UnitsEachConsistingOfOneOrdinaryShare0.0001ParValueAndOnethirdOfOneRedeemableWarrantMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-01</startDate>
            <endDate>2026-07-01</endDate>
        </period>
    </context>
    <context id="From2026-07-012026-07-01_custom_OrdinarySharesParValue0.0001PerShareMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002081515</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">cik0002081515:OrdinarySharesParValue0.0001PerShareMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-01</startDate>
            <endDate>2026-07-01</endDate>
        </period>
    </context>
    <context id="From2026-07-012026-07-01_custom_WarrantsEachWholeWarrantExercisableForOneOrdinaryShareAtExercisePriceOf11.50PerShareMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002081515</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">cik0002081515:WarrantsEachWholeWarrantExercisableForOneOrdinaryShareAtExercisePriceOf11.50PerShareMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-01</startDate>
            <endDate>2026-07-01</endDate>
        </period>
    </context>
    <dei:AmendmentFlag contextRef="AsOf2026-07-01" id="Fact000003">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="AsOf2026-07-01" id="Fact000004">0002081515</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="AsOf2026-07-01" id="Fact000009">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="AsOf2026-07-01" id="Fact000010">2026-07-01</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="AsOf2026-07-01" id="Fact000011">BERTO ACQUISITION CORP. II</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="AsOf2026-07-01" id="Fact000012">E9</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="AsOf2026-07-01" id="Fact000013">001-43293</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="AsOf2026-07-01" id="Fact000014">99-1894162</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="AsOf2026-07-01" id="Fact000015">1180 North Town Center Drive</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="AsOf2026-07-01" id="Fact000016">Suite 100</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="AsOf2026-07-01" id="Fact000017">Las Vegas</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="AsOf2026-07-01" id="Fact000018">NV</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="AsOf2026-07-01" id="Fact000019">89144</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="AsOf2026-07-01" id="Fact000020">(702)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="AsOf2026-07-01" id="Fact000021">781-4313</dei:LocalPhoneNumber>
    <dei:Security12bTitle
      contextRef="From2026-07-012026-07-01_custom_UnitsEachConsistingOfOneOrdinaryShare0.0001ParValueAndOnethirdOfOneRedeemableWarrantMember"
      id="Fact000022">Units, each consisting of one ordinary share, $0.0001 par value, and one-third of one redeemable warrant</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="From2026-07-012026-07-01_custom_UnitsEachConsistingOfOneOrdinaryShare0.0001ParValueAndOnethirdOfOneRedeemableWarrantMember"
      id="Fact000023">GUACU</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="From2026-07-012026-07-01_custom_UnitsEachConsistingOfOneOrdinaryShare0.0001ParValueAndOnethirdOfOneRedeemableWarrantMember"
      id="Fact000024">NASDAQ</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="From2026-07-012026-07-01_custom_OrdinarySharesParValue0.0001PerShareMember"
      id="Fact000025">Ordinary shares, par value $0.0001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="From2026-07-012026-07-01_custom_OrdinarySharesParValue0.0001PerShareMember"
      id="Fact000026">GUAC</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="From2026-07-012026-07-01_custom_OrdinarySharesParValue0.0001PerShareMember"
      id="Fact000027">NASDAQ</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="From2026-07-012026-07-01_custom_WarrantsEachWholeWarrantExercisableForOneOrdinaryShareAtExercisePriceOf11.50PerShareMember"
      id="Fact000028">Warrants, each whole warrant exercisable for one ordinary share at an exercise price of $11.50 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="From2026-07-012026-07-01_custom_WarrantsEachWholeWarrantExercisableForOneOrdinaryShareAtExercisePriceOf11.50PerShareMember"
      id="Fact000029">GUACW</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="From2026-07-012026-07-01_custom_WarrantsEachWholeWarrantExercisableForOneOrdinaryShareAtExercisePriceOf11.50PerShareMember"
      id="Fact000030">NASDAQ</dei:SecurityExchangeName>
    <dei:WrittenCommunications contextRef="AsOf2026-07-01" id="Fact000031">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="AsOf2026-07-01" id="Fact000032">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="AsOf2026-07-01" id="Fact000033">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="AsOf2026-07-01" id="Fact000034">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany contextRef="AsOf2026-07-01" id="Fact000035">true</dei:EntityEmergingGrowthCompany>
    <dei:EntityExTransitionPeriod contextRef="AsOf2026-07-01" id="Fact000036">false</dei:EntityExTransitionPeriod>
</xbrl>
