<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="AsOf2026-05-29">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001873454</identifier>
        </entity>
        <period>
            <startDate>2026-05-29</startDate>
            <endDate>2026-05-29</endDate>
        </period>
    </context>
    <context id="From2026-05-292026-05-29_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001873454</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-29</startDate>
            <endDate>2026-05-29</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="Shares">
        <measure>shares</measure>
    </unit>
    <unit id="USDPShares">
        <divide>
            <unitNumerator>
                <measure>iso4217:USD</measure>
            </unitNumerator>
            <unitDenominator>
                <measure>shares</measure>
            </unitDenominator>
        </divide>
    </unit>
    <unit id="Ratio">
        <measure>pure</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="AsOf2026-05-29" id="Fact000003">0001873454</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp contextRef="AsOf2026-05-29" id="xdx2ixbrl0011">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OffsetTableNa contextRef="AsOf2026-05-29" id="Fact000009">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa contextRef="AsOf2026-05-29" id="Fact000010">N/A</ffd:CombinedProspectusTableNa>
    <ffd:SubmissnTp contextRef="AsOf2026-05-29" id="Fact000012">F-1</ffd:SubmissnTp>
    <ffd:FormTp contextRef="AsOf2026-05-29" id="Fact000013">F-1</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="AsOf2026-05-29" id="Fact000014">Ruanyun Edai Technology Inc.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="From2026-05-292026-05-29_1" id="Fact000015">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="From2026-05-292026-05-29_1" id="Fact000016">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="From2026-05-292026-05-29_1" id="Fact000017">Ordinary Shares, par value $0.0002 per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="From2026-05-292026-05-29_1" id="Fact000018">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="From2026-05-292026-05-29_1"
      decimals="2"
      id="Fact000019"
      unitRef="Shares">20000000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="From2026-05-292026-05-29_1"
      decimals="INF"
      id="Fact000020"
      unitRef="USDPShares">0.9745</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="From2026-05-292026-05-29_1"
      decimals="2"
      id="Fact000021"
      unitRef="USD">19490000</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="From2026-05-292026-05-29_1"
      decimals="INF"
      id="Fact000022"
      unitRef="Ratio">0.00013810</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="From2026-05-292026-05-29_1"
      decimals="2"
      id="Fact000023"
      unitRef="USD">2691.57</ffd:FeeAmt>
    <ffd:TtlOfferingAmt
      contextRef="AsOf2026-05-29"
      decimals="2"
      id="Fact000024"
      unitRef="USD">19490000</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt
      contextRef="AsOf2026-05-29"
      decimals="2"
      id="Fact000025"
      unitRef="USD">2691.57</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt
      contextRef="AsOf2026-05-29"
      decimals="2"
      id="Fact000026"
      unitRef="USD">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt
      contextRef="AsOf2026-05-29"
      decimals="2"
      id="Fact000027"
      unitRef="USD">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt
      contextRef="AsOf2026-05-29"
      decimals="2"
      id="Fact000028"
      unitRef="USD">2691.57</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="From2026-05-292026-05-29_1" id="Fact000030">&lt;p id="xdx_808_effd--OfferingNote_hffd--OfferingAxis__1_zoSOIgrGUzB5" style="font: 10pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;__________________________________________&lt;/b&gt;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 10pt Times New Roman, Times, Serif; width: 100%"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="text-align: right"&gt;(1)&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;Pursuant to Rule 416 under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), the ordinary shares being registered hereunder include such indeterminate number of ordinary shares as may be issuable with respect to the ordinary shares being registered hereunder as a result of stock splits, stock dividends or similar transactions.&lt;br/&gt;
&lt;br/&gt;
Estimated solely for the purpose of calculating the amount of the registration fee pursuant to Rule 457(c) of the Securities Act, on the basis of the average of the high and low prices for an ordinary share of the Registrant as reported on The Nasdaq Capital Market on May 22, 2026, which date is a date within five business days prior to the filing of this registration statement.&lt;br/&gt;
&lt;br/&gt;
The Registrant will not receive any proceeds from the sale of its ordinary shares by the selling shareholder.&lt;br/&gt;
&lt;br/&gt;
All of the ordinary shares are to be offered for resale by the selling shareholder named in the prospectus contained in this Registration Statement on Form F-1.&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;

</ffd:OfferingNote>
</xbrl>
