<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.3</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>640</ContextCount>
  <ElementCount>386</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>211</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995300 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995301 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>995302 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>995303 - Statement - Consolidated Balance Sheets (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/ConsolidatedBalanceSheetsParentheticals</Role>
      <ShortName>Consolidated Balance Sheets (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>995304 - Statement - Consolidated Statements of Operations and Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/ConsolidatedStatementsofOperationsandComprehensiveLoss</Role>
      <ShortName>Consolidated Statements of Operations and Comprehensive Loss</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>995305 - Statement - Consolidated Statements of Changes in Stockholders’ Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/ConsolidatedStatementsofChangesinStockholdersEquity</Role>
      <ShortName>Consolidated Statements of Changes in Stockholders’ Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>995306 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/ConsolidatedStatementsofCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>995307 - Disclosure - Organization and Description of Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/OrganizationandDescriptionofBusiness</Role>
      <ShortName>Organization and Description of Business</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>995308 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/SummaryofSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995309 - Disclosure - Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/PropertyandEquipment</Role>
      <ShortName>Property and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995310 - Disclosure - Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/IntangibleAssets</Role>
      <ShortName>Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995311 - Disclosure - Prepaid Expenses and Other Current Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/PrepaidExpensesandOtherCurrentAssets</Role>
      <ShortName>Prepaid Expenses and Other Current Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995312 - Disclosure - Contract Liability</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/ContractLiability</Role>
      <ShortName>Contract Liability</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995313 - Disclosure - Accrued Expenses and Other Payables</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/AccruedExpensesandOtherPayables</Role>
      <ShortName>Accrued Expenses and Other Payables</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995314 - Disclosure - Loans Payable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/LoansPayable</Role>
      <ShortName>Loans Payable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995315 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995316 - Disclosure - Common Stock and Warrants</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/CommonStockandWarrants</Role>
      <ShortName>Common Stock and Warrants</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995317 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995318 - Disclosure - Commitments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/Commitments</Role>
      <ShortName>Commitments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995319 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995447 - Disclosure - Insider Trading Policies and Procedures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc</Role>
      <ShortName>Insider Trading Policies and Procedures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995550 - Disclosure - Cybersecurity Risk Management and Strategy Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure</Role>
      <ShortName>Cybersecurity Risk Management and Strategy Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>996321 - Disclosure - Accounting Policies, by Policy (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/AccountingPoliciesbyPolicyPolicies</Role>
      <ShortName>Accounting Policies, by Policy (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://dataseainc.com/20260630/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>996322 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/SummaryofSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://dataseainc.com/20260630/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>996323 - Disclosure - Property and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/PropertyandEquipmentTables</Role>
      <ShortName>Property and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://dataseainc.com/20260630/role/PropertyandEquipment</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>996324 - Disclosure - Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/IntangibleAssetsTables</Role>
      <ShortName>Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://dataseainc.com/20260630/role/IntangibleAssets</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>996325 - Disclosure - Prepaid Expenses and Other Current Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/PrepaidExpensesandOtherCurrentAssetsTables</Role>
      <ShortName>Prepaid Expenses and Other Current Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://dataseainc.com/20260630/role/PrepaidExpensesandOtherCurrentAssets</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>996326 - Disclosure - Contract Liability (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/ContractLiabilityTables</Role>
      <ShortName>Contract Liability (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://dataseainc.com/20260630/role/ContractLiability</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>996327 - Disclosure - Accrued Expenses and Other Payables (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/AccruedExpensesandOtherPayablesTables</Role>
      <ShortName>Accrued Expenses and Other Payables (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://dataseainc.com/20260630/role/AccruedExpensesandOtherPayables</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>996328 - Disclosure - Loans Payable (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/LoansPayableTables</Role>
      <ShortName>Loans Payable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://dataseainc.com/20260630/role/LoansPayable</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>996329 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://dataseainc.com/20260630/role/IncomeTaxes</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>996330 - Disclosure - Commitments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/CommitmentsTables</Role>
      <ShortName>Commitments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://dataseainc.com/20260630/role/Commitments</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>996331 - Disclosure - Organization and Description of Business (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/OrganizationandDescriptionofBusinessDetails</Role>
      <ShortName>Organization and Description of Business (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://dataseainc.com/20260630/role/OrganizationandDescriptionofBusiness</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>996332 - Disclosure - Summary of Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/SummaryofSignificantAccountingPoliciesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://dataseainc.com/20260630/role/SummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>996333 - Disclosure - Summary of Significant Accounting Policies - Schedule of Condensed Consolidating Statements of Operation Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/SummaryofSignificantAccountingPoliciesScheduleofCondensedConsolidatingStatementsofOperationInformationDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Condensed Consolidating Statements of Operation Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>996334 - Disclosure - Summary of Significant Accounting Policies - Schedule of Condensed Consolidating Balance Sheets Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/SummaryofSignificantAccountingPoliciesScheduleofCondensedConsolidatingBalanceSheetsInformationDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Condensed Consolidating Balance Sheets Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>996335 - Disclosure - Summary of Significant Accounting Policies - Schedule of Condensed Consolidating Cash Flows Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/SummaryofSignificantAccountingPoliciesScheduleofCondensedConsolidatingCashFlowsInformationDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Condensed Consolidating Cash Flows Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>996336 - Disclosure - Summary of Significant Accounting Policies - Schedule of Property and Equipment is Provided Using the Straight-Line Method Over Estimated Useful Lives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/SummaryofSignificantAccountingPoliciesScheduleofPropertyandEquipmentisProvidedUsingtheStraightLineMethodOverEstimatedUsefulLivesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Property and Equipment is Provided Using the Straight-Line Method Over Estimated Useful Lives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>996337 - Disclosure - Summary of Significant Accounting Policies - Schedule of Revenue Sources (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/SummaryofSignificantAccountingPoliciesScheduleofRevenueSourcesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Revenue Sources (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>996338 - Disclosure - Summary of Significant Accounting Policies - Schedule of Exchange Rates used to Translate Amounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/SummaryofSignificantAccountingPoliciesScheduleofExchangeRatesusedtoTranslateAmountsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Exchange Rates used to Translate Amounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>996339 - Disclosure - Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/PropertyandEquipmentDetails</Role>
      <ShortName>Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://dataseainc.com/20260630/role/PropertyandEquipmentTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>996340 - Disclosure - Property and Equipment - Schedule of Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/PropertyandEquipmentScheduleofPropertyandEquipmentDetails</Role>
      <ShortName>Property and Equipment - Schedule of Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>996341 - Disclosure - Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/IntangibleAssetsDetails</Role>
      <ShortName>Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://dataseainc.com/20260630/role/IntangibleAssetsTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>996342 - Disclosure - Intangible Assets - Schedule of Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/IntangibleAssetsScheduleofIntangibleAssetsDetails</Role>
      <ShortName>Intangible Assets - Schedule of Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>996343 - Disclosure - Prepaid Expenses and Other Current Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/PrepaidExpensesandOtherCurrentAssetsDetails</Role>
      <ShortName>Prepaid Expenses and Other Current Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://dataseainc.com/20260630/role/PrepaidExpensesandOtherCurrentAssetsTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>996344 - Disclosure - Prepaid Expenses and Other Current Assets - Schedule of Prepaid Expenses and Other Current Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/PrepaidExpensesandOtherCurrentAssetsScheduleofPrepaidExpensesandOtherCurrentAssetsDetails</Role>
      <ShortName>Prepaid Expenses and Other Current Assets - Schedule of Prepaid Expenses and Other Current Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>996345 - Disclosure - Contract Liability (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/ContractLiabilityDetails</Role>
      <ShortName>Contract Liability (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://dataseainc.com/20260630/role/ContractLiabilityTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>996346 - Disclosure - Unearned Revennue - Schedule of Contract Liability (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/UnearnedRevennueScheduleofContractLiabilityDetails</Role>
      <ShortName>Unearned Revennue - Schedule of Contract Liability (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>996347 - Disclosure - Accrued Expenses and Other Payables - Schedule of Accrued Expenses and Other Payables (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/AccruedExpensesandOtherPayablesScheduleofAccruedExpensesandOtherPayablesDetails</Role>
      <ShortName>Accrued Expenses and Other Payables - Schedule of Accrued Expenses and Other Payables (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>996348 - Disclosure - Loans Payable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/LoansPayableDetails</Role>
      <ShortName>Loans Payable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://dataseainc.com/20260630/role/LoansPayableTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>996349 - Disclosure - Loans Payable - Schedule of Loan Balance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/LoansPayableScheduleofLoanBalanceDetails</Role>
      <ShortName>Loans Payable - Schedule of Loan Balance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>996350 - Disclosure - Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/RelatedPartyTransactionsDetails</Role>
      <ShortName>Related Party Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://dataseainc.com/20260630/role/RelatedPartyTransactions</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>996351 - Disclosure - Common Stock and Warrants (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/CommonStockandWarrantsDetails</Role>
      <ShortName>Common Stock and Warrants (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://dataseainc.com/20260630/role/CommonStockandWarrants</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>996352 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/IncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://dataseainc.com/20260630/role/IncomeTaxesTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>996353 - Disclosure - Income Taxes - Schedule of Income (Loss) Before Provision for (Benefit from) Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/IncomeTaxesScheduleofIncomeLossBeforeProvisionforBenefitfromIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Schedule of Income (Loss) Before Provision for (Benefit from) Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>996354 - Disclosure - Income Taxes - Schedule of Components of the Provision for (Benefit from) Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/IncomeTaxesScheduleofComponentsoftheProvisionforBenefitfromIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Schedule of Components of the Provision for (Benefit from) Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>996355 - Disclosure - Income Taxes - Schedule of Reconciles the PRC Statutory Rates to the Company’s Effective Tax Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/IncomeTaxesScheduleofReconcilesthePRCStatutoryRatestotheCompanysEffectiveTaxRateDetails</Role>
      <ShortName>Income Taxes - Schedule of Reconciles the PRC Statutory Rates to the Company’s Effective Tax Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>996356 - Disclosure - Income Taxes - Schedule of Cash Paid for Income Taxes, Net of Refunds (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/IncomeTaxesScheduleofCashPaidforIncomeTaxesNetofRefundsDetails</Role>
      <ShortName>Income Taxes - Schedule of Cash Paid for Income Taxes, Net of Refunds (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>996357 - Disclosure - Income Taxes - Schedule of Net Deferred Tax Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/IncomeTaxesScheduleofNetDeferredTaxAssetsDetails</Role>
      <ShortName>Income Taxes - Schedule of Net Deferred Tax Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>996358 - Disclosure - Commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/CommitmentsDetails</Role>
      <ShortName>Commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://dataseainc.com/20260630/role/CommitmentsTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>996359 - Disclosure - Commitments - Schedule of Rent Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/CommitmentsScheduleofRentExpenseDetails</Role>
      <ShortName>Commitments - Schedule of Rent Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>996360 - Disclosure - Commitments - Schedule of Lease Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/CommitmentsScheduleofLeaseCostDetails</Role>
      <ShortName>Commitments - Schedule of Lease Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>996361 - Disclosure - Commitments - Schedule of Maturities of Operating Lease Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/CommitmentsScheduleofMaturitiesofOperatingLeaseLiabilitiesDetails</Role>
      <ShortName>Commitments - Schedule of Maturities of Operating Lease Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="ea0306773-20f_datasea.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>996362 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://dataseainc.com/20260630/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://dataseainc.com/20260630/role/SubsequentEvents</ParentRole>
      <Position>66</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>dtss-20260630.xsd</File>
    <File>dtss-20260630_cal.xml</File>
    <File>dtss-20260630_def.xml</File>
    <File>dtss-20260630_lab.xml</File>
    <File>dtss-20260630_pre.xml</File>
    <File doctype="20-F" isDefinitelyFs="true" isUsgaap="true" original="ea0306773-20f_datasea.htm">ea0306773-20f_datasea.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>ea030677301_img1.jpg</File>
    <File>ea030677301_img2.jpg</File>
    <File>ea030677301_img3.jpg</File>
    <File>ea030677301_img4.jpg</File>
    <File>ea030677301_img5.jpg</File>
    <File>ea030677301_img6.jpg</File>
    <File>ea030677301_img7.jpg</File>
    <File>ea030677301_img8.jpg</File>
    <File>ea030677301_img9.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1683">http://fasb.org/us-gaap/2026</BaseTaxonomy>
    <BaseTaxonomy items="7">http://xbrl.sec.gov/cyd/2026</BaseTaxonomy>
    <BaseTaxonomy items="49">http://xbrl.sec.gov/dei/2026</BaseTaxonomy>
    <BaseTaxonomy items="5">http://xbrl.sec.gov/ecd/2026</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
