Tools · CLIN 0003 Cybersecurity & compliance
CUI Marking Generator
PlannedProduce banner lines and designation indicator blocks for controlled unclassified information.
This tool is planned. There is nothing to open yet. What follows is the plan, and it can change before the tool ships. The guide below covers the same job by hand in the meantime. Jump to the full specification.
What it will do
Choose a category from the CUI Registry and enter the controlling office and a point of contact. The tool produces the banner line and the designation indicator block in the form defense marking guidance shows, ready to paste into a document.
You bring
- The CUI category, from the Registry
- The controlling component and office
- Any limited dissemination control, and a point of contact
You get
- The banner marking
- The designation indicator block for the first page
Built from
- CUI rule, 32 CFR Part 2002
- The national CUI Registry
- DoD Instruction 5200.48 and the DoD CUI program’s marking guidance
Only material the government has officially released to the public. Where the rules live shows how to find and cite each one.
Do it by hand today
- Protecting government information · Marking CUIFCI and CUI, the security requirements that come with each, how NIST SP 800-171 and CMMC fit together, and how CUI is marked.
True of every tool
- Free and open source.
- No paid tier, no ads, and the code is public.
- Runs in your browser.
- What you type or open is not sent anywhere.
- No tracking.
- No accounts, cookies or analytics.
- Shows its sources.
- Each result names the rule it rests on, so you can check it.
- Says what it does not do.
- It is an aid for your own work, not professional advice.
What happens to what you type shows how to confirm this yourself, and Check a tool’s answer is the method for verifying a result.
Want it sooner?
Requests decide what is built first. Say what you would use it for, and what you do by hand today.
Issues are public. Leave out real contract data, real rates and anything controlled. How to write a useful request.
Specification · draft
How it is meant to work, in detail
The inputs, the logic, the checks the tool has to pass and the worked examples it is tested against. It is a draft, and the tool is built from it, so it can change until the tool ships.
4 min readLast revised November 2026Source of this specification
Overview & Role#
The CUI Marking Generator (slug: cui-marking-generator, CLIN 0003 — Cybersecurity & compliance, template family calculator) is a static, browser-only utility that builds compliant banner lines, first-page Designation Indicator Blocks, and portion-marking legends for Controlled Unclassified Information (CUI). It prevents common marking mistakes—such as inventing categories, omitting Limited Dissemination Controls (LDCs), or applying retired legacy markings—by constraining selections to the bundled NARA CUI Registry.
Scope boundaries:
- Generates text markings for unclassified CUI only.
- Does not cover classified information markings, ITAR/EAR export-control legends beyond CUI Specified categories, or agency-specific Security Classification Guides (SCGs) that supersede general marking rules.
- Does not decide whether information qualifies as CUI; the contracting agency determines what is CUI under the contract.
Governing Regulations & Sources#
- 32 CFR Part 2002 (Controlled Unclassified Information), specifically § 2002.20 (Marking): Establishes government-wide CUI banner, designation indicator, portion marking, and legacy-marking retirement rules.
- NARA CUI Registry (archives.gov/cui): Authoritative list of CUI Basic and CUI Specified categories, category markings, and Limited Dissemination Controls (
FEDCON,NOFORN,NOCON,DL ONLY,FED ONLY,REL TO,DISPLAY ONLY). - DoD Instruction 5200.48 (Controlled Unclassified Information) and dodcui.mil marking guidance: Establishes Department of Defense practice requiring the CUI banner at both the top and bottom of every page and the standardized 5-line Designation Indicator Block.
Inputs, Processing Logic & Outputs#
Inputs
- Marking profile:
NARA Standard (32 CFR 2002)(top-of-page banner) orDoD (DoDI 5200.48)(top-and-bottom banner). - CUI Categories: Multi-select from the bundled NARA CUI Registry lookup table (including category code, full name, and
BasicvsSpecifiedflag—e.g.,CTI,EXPT,PRVCY,PROCURE,SSEL,PROPIN,CRIT). - Limited Dissemination Controls (LDCs): Optional multi-select from the bundled NARA LDC table (e.g.,
FEDCON,NOFORN,NOCON,DL ONLY,REL TO [country list]). - Designation Indicator fields:
controlledByAgency: Department, Agency, or DoD Component namecontrolledByOffice: Optional originating office or programpoc: Point of contact name and phone number or emaildecontrol: Optional decontrol date or event
- Portion marking toggle: Boolean (
includePortionGuidance) for(CUI)/(U)paragraph marking rules.
Deterministic Processing Logic
- Category & legacy validation:
- Rejects any category code not present in the bundled NARA CUI Registry.
- Detects and blocks retired legacy markings (
FOUO,For Official Use Only,SBU,LES) with an explanatory notice citing 32 CFR § 2002.20.
- Banner string construction:
- Start with
CUI. - If one or more CUI Specified categories are selected, append
//SP-<CAT1>/<CAT2>(category markings sorted deterministically). CUI Basic categories are recorded in the Designation Indicator Block rather than added to the banner unless required by agency policy. - If one or more LDCs are selected, append
//<LDC1>/<LDC2>. - Example:
CTI(Specified) +FEDCON→CUI//SP-CTI//FEDCON. - If only CUI Basic categories and no LDCs are selected →
CUI.
- Start with
- Designation Indicator Block construction:
- Formats the standardized block using the validated inputs:
Controlled by: <controlledByAgency> Controlled by: <controlledByOffice> CUI Category: <Registry Category Names / Codes> Limited Dissemination Control: <LDCs or None> POC: <poc> - Appends
Decontrol on: <decontrol>only when provided.
- Formats the standardized block using the validated inputs:
- Portion marking rule: When enabled, emits
(CUI)and(U)markers with the mandatory rule that if portion marking is used anywhere in a document, it must be applied throughout the entire document.
Outputs
- Banner line with placement guidance (top of every page for NARA; top and bottom of every page for DoD).
- Copy-ready Designation Indicator Block.
- Portion marking legend (when enabled) and compliance reminders (do not over-mark non-CUI; CUI remains CUI until formally decontrolled).
Clean-Room & 5-Condition QA Requirements#
- Browser-only execution: All banner formatting and registry lookups run locally in JavaScript with zero server calls.
- Strict Content Security Policy: Enforces
default-src 'self',connect-src 'self', andform-action 'none'so agency, office, and POC details never leave the workstation. - Zero tracking or accounts: No sign-in, no analytics, no cookies, and no third-party font or script requests.
- Offline operation: The NARA CUI Registry category table and LDC list are bundled statically in the repository; the tool works with the network disconnected.
- Clean-room & data hygiene: Worked examples use synthetic agency and POC values. Includes MIT
LICENSE, citations to 32 CFR Part 2002 and DoDI 5200.48, and explicit scope exclusions.
Worked Example & Verification#
Worked Example (DoD CUI Specified + LDC):
- Inputs:
- Profile:
DoD (DoDI 5200.48) - Category:
CTI(Controlled Technical Information — CUI Specified) - LDC:
FEDCON - Controlled by:
Department of the Navy/NAVSEA PMS 400 - POC:
J. Smith, 555-0142 / [email protected]
- Profile:
- Expected Banner:
CUI//SP-CTI//FEDCON(top and bottom of every page). - Expected Designation Indicator Block:
Controlled by: Department of the Navy Controlled by: NAVSEA PMS 400 CUI Category: Controlled Technical Information (CTI) Limited Dissemination Control: FEDCON POC: J. Smith, 555-0142 / [email protected]
Boundary & Edge-Case Assertions:
- Basic category only (
PRVCY), no LDC → banner isCUI. - Missing
controlledByAgencyorpoc→ validation warning highlights required Designation Indicator fields before export. - Entering
FOUOin a category field → rejected with legacy-marking warning.