XML 48 R40.htm IDEA: XBRL DOCUMENT
v3.25.1

Revenue Recognition - Narrative (Details) | 3 Months Ended | 6 Months Ended
--- | --- | ---
Mar. 01, 2025 | Feb. 24, 2024 | Mar. 01, 2025 | Feb. 24, 2024
Revenue from Contract with Customer [Abstract] |  |  |  |
Percentage of revenues derived from route servicing fees | 83.40% | 84.00% | 83.80% | 84.20%

X
- Definition Revenue From Contracts With Customers, Percentage Of Revenues From Route Servicing Fees + References No definition available. + Details
Name: | unf_RevenueFromContractsWithCustomersPercentageOfRevenuesFromRouteServicingFees
Namespace Prefix: | unf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_RevenueFromContractWithCustomerAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration