XML 57 R47.htm IDEA: XBRL DOCUMENT
v3.23.1

Asset Retirement Obligations - Narrative (Details) | 6 Months Ended
--- | ---
Feb. 25, 2023
Minimum |
Asset Retirement Obligations [Line Items] |
Remaining lives | 1 year
Maximum |
Asset Retirement Obligations [Line Items] |
Remaining lives | 22 years

X
- Definition This element describes the minimum years the Company will discount the liability of estimated future costs to decommission one of its facilities. + References No definition available. + Details
Name: | unf_AssetRetirementObligationRemainingLives
Namespace Prefix: | unf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition [Line Items] for Asset Retirement Obligations [Table] + References No definition available. + Details
Name: | unf_AssetRetirementObligationsLineItems
Namespace Prefix: | unf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |