<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ecd="http://xbrl.sec.gov/ecd/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="krt-20260424.xsd" xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001758021</identifier>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-2">0001758021</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="c-1" id="f-3">DEF 14A</dei:DocumentType>
    <dei:AmendmentFlag contextRef="c-1" id="f-4">false</dei:AmendmentFlag>
    <dei:EntityRegistrantName contextRef="c-1" id="f-1">Karat Packaging Inc.</dei:EntityRegistrantName>
    <ecd:InsiderTrdPoliciesProcAdoptedFlag contextRef="c-1" id="f-5">true</ecd:InsiderTrdPoliciesProcAdoptedFlag>
    <ecd:AwardTmgHowMnpiCnsdrdTextBlock contextRef="c-1" id="f-8">&lt;div style="text-align:justify;text-indent:36pt"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:10pt;font-weight:400;line-height:100%"&gt;We do not grant equity awards in anticipation of the release of material nonpublic information, and we do not time the release of material nonpublic information based on equity award grant dates or for the purpose of affecting the value of executive compensation. While we do not have a formal policy with respect to the timing of awards of stock options, stock appreciation rights, or similar option-like instruments to our named executive officers, historically, including during fiscal 2025, our Compensation Committee has not granted such awards.&lt;/span&gt;&lt;/div&gt;</ecd:AwardTmgHowMnpiCnsdrdTextBlock>
    <ecd:AwardTmgMnpiDiscTextBlock contextRef="c-1" id="f-7">&lt;div style="text-align:justify;text-indent:36pt"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:10pt;font-weight:400;line-height:100%"&gt;We do not grant equity awards in anticipation of the release of material nonpublic information, and we do not time the release of material nonpublic information based on equity award grant dates or for the purpose of affecting the value of executive compensation. While we do not have a formal policy with respect to the timing of awards of stock options, stock appreciation rights, or similar option-like instruments to our named executive officers, historically, including during fiscal 2025, our Compensation Committee has not granted such awards.&lt;/span&gt;&lt;/div&gt;</ecd:AwardTmgMnpiDiscTextBlock>
    <ecd:AwardTmgMethodTextBlock contextRef="c-1" id="f-6">We do not grant equity awards in anticipation of the release of material nonpublic information, and we do not time the release of material nonpublic information based on equity award grant dates or for the purpose of affecting the value of executive compensation.</ecd:AwardTmgMethodTextBlock>
    <ecd:MnpiDiscTimedForCompValFlag contextRef="c-1" id="f-9">false</ecd:MnpiDiscTimedForCompValFlag>
    <ecd:AwardTmgMnpiCnsdrdFlag contextRef="c-1" id="f-10">false</ecd:AwardTmgMnpiCnsdrdFlag>
    <ecd:AwardTmgPredtrmndFlag contextRef="c-1" id="f-11">false</ecd:AwardTmgPredtrmndFlag>
</xbrl>