<?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/2024"
  xmlns:ecd="http://xbrl.sec.gov/ecd/2024"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="krt-20250425.xsd" xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001758021</identifier>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-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: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',sans-serif;font-size:10pt;font-weight:400;line-height:120%"&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. 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 2024, our Compensation Committee has not granted such awards.&lt;/span&gt;&lt;/div&gt;</ecd:AwardTmgMnpiDiscTextBlock>
    <ecd:AwardTmgHowMnpiCnsdrdTextBlock contextRef="c-1" id="f-6">&lt;div style="text-align:justify;text-indent:36pt"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',sans-serif;font-size:10pt;font-weight:400;line-height:120%"&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. 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 2024, our Compensation Committee has not granted such awards.&lt;/span&gt;&lt;/div&gt;</ecd:AwardTmgHowMnpiCnsdrdTextBlock>
    <ecd:AwardTmgMethodTextBlock contextRef="c-1" id="f-8">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.</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>
