XML 45 R37.htm IDEA: XBRL DOCUMENT
v3.26.1

Summary of Significant Accounting Policies - Narrative (Details) - USD ($) | Mar. 10, 2026 | Feb. 28, 2026 | Aug. 30, 2025
--- | --- | --- | ---
Common Stock |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |
Common stock, par value per share |  | $ 0.10 | $ 0.10
Common Stock | Subsequent Event |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |
Common stock, par value per share | $ 0.1 |  |
Class B Common Stock |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |
Common stock, par value per share |  | $ 0.10 | $ 0.10
Class B Common Stock | Subsequent Event |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |
Common stock, par value per share | $ 0.1 |  |
Cintas | Subsequent Event |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |
Business combination, right to receive cash upon conversion of stock | $ 155 |  |
Business combination, potential termination fee payment | 213,300,000 |  |
Business combination, potential termination fee payment by acquirer | $ 350,000,000 |  |
Cintas | Common Stock | Subsequent Event |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |
Business combination, right to receive fully paid shares upon conversion of stock | 0.772 |  |

X
- Definition Business combination, potential termination fee payment. + References No definition available. + Details
Name: | unf_BusinessCombinationPotentialTerminationFeePayment
Namespace Prefix: | unf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Business combination, potential termination fee payment by acquirer. + References No definition available. + Details
Name: | unf_BusinessCombinationPotentialTerminationFeePaymentByAcquirer
Namespace Prefix: | unf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Business combination, right to receive cash upon conversion of stock. + References No definition available. + Details
Name: | unf_BusinessCombinationRightToReceiveCashUponConversionOfStock
Namespace Prefix: | unf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Summary of significant accounting policies. + References No definition available. + Details
Name: | unf_SummaryOfSignificantAccountingPoliciesLineItems
Namespace Prefix: | unf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares of equity interest issued or issuable by acquirer as part of consideration transferred in business combination. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-8 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 41 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479303/805-10-55-41 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479581/805-30-50-2 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479581/805-30-50-1 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 42 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479303/805-10-55-42 + Details
Name: | us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face amount or stated value per share of common stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_CommonStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=unf_CintasCorporationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |