.CTB

CTB File

AutoCAD Color-Dependent Plot Style Table
Ask a question
QUICK ANSWER

A CTB file is an AutoCAD color-dependent plot style table. It tells AutoCAD how each drawing color should print - its output color, line weight, and screening. You open and edit it inside AutoCAD using STYLESMANAGER or the Plot dialog. If AutoCAD reports the file is missing, copy the CTB into your Plot Styles support folder.

Developer: Autodesk, Inc. Category: Settings Files MIME: application/octet-stream
OPENS ON Windows macOS
Related: .ICA · .DS_STORE · .WMZ · .CFG

On this page

19k+ extensions indexed
Last reviewed Jun 16, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the CTB file format?

.ctb is a binary file associated with AutoCAD, introduced with AutoCAD 2000 to replace legacy .pcp and .pc2 pen assignments. .ctb files store color-dependent plot style tables that control how a drawing prints, not how it looks on screen. Each table maps up to 255 of AutoCAD's indexed colors (ACI values 1-255) to output properties such as lineweight, screening, linetype, dithering, grayscale conversion, and pen number. These settings can be reused across different projects and applied to objects or layers.

.ctb files are stored separately from the .dwg drawing file and must be present in AutoCAD's Plot Styles folder for the drawing to plot as intended.

Newer versions of AutoCAD support a different plot style paradigm - styles assigned to named objects or layers rather than to color index numbers. For this purpose, .stb files are used instead of .ctb files. However, many projects still use .ctb files, mainly due to the high cost of rebuilding projects to accommodate the .stb format. A single project cannot use both .ctb and .stb standards simultaneously. Autodesk offers a built-in migration tool within AutoCAD for converting .ctb files to .stb format.

Security & safety

RISK: LOW

A CTB is a passive settings file and cannot execute code, so it is safe to open. The only practical 'risk' is using the wrong CTB and getting incorrect prints (wrong lineweights/colors) - verify you have the CTB the drawing's author intended. Download CTBs only from trusted colleagues/standards, and place them in AutoCAD's Plot Styles folder, not random locations.

Format details

in a nutshell
FULL NAMEAutoCAD Color-Dependent Plot Style Tableaka CTB file, Color-dependent plot style table
DEVELOPERAutodesk, Inc.since 2000 (AutoCAD 2000 - replaced legacy .pcp/.pc2 pen assignments)
MIME TYPEapplication/octet-stream
TYPEProprietary binary AutoCAD configuration table (plot/pen settings)
This extension is also used by…
  • COMSOL Multiphysics binary file - Some COMSOL exports use .ctb; unrelated to AutoCAD plotting.
  • ChessBase / training database table - A minor, unrelated use of .ctb in some chess software.
MAGIC BYTES · FILE SIGNATURE
OFFSET
000102030405
HEX
504941465630
ASCII
PIAFV0
CTB files share the AutoCAD plot-style table header signature (PIAFV0...) with .stb style tables; the body is binary/encoded and only AutoCAD's Plot Style Table Editor reads it reliably. Treat hex as indicative - confirm against your own sample.

Programs that open CTB files

Windows4 apps
AutoCAD Paid Run STYLESMANAGER (or Plot dialog > Plot style table > Edit) to open the Plot Style Table Editor; edit per-color settings, Save As. Place the .ctb in the Plot Styles support folder.
DWG TrueView Free Free Autodesk app - drop the .ctb into its Plot Styles folder and select it when plotting a DWG to PDF. Best no-cost way to USE a CTB.
Bricscad Paid AutoCAD-compatible CAD - reads and edits .ctb plot styles in its own plot style manager.
progeCAD / ZWCAD / GstarCAD Paid Low-cost AutoCAD-compatible programs that import and apply CTB plot styles.
macOS1 app
AutoCAD for Mac Paid Plot Style Table Editor available; manage CTBs in the macOS Plot Styles folder.

Technical details

deep spec
DeveloperAutodesk, Inc.
Format typeProprietary binary plot style configuration table
MIME typeapplication/octet-stream
File signaturePIAFV0 (ASCII, offset 0)
EncodingBinary, little-endian
Color index entries255 (one per AutoCAD Color Index value 1-255)
Per-entry propertiesOutput color, lineweight, screening %, linetype, dithering, grayscale, pen number
Typical file size1 KB - 20 KB
Platform supportWindows, macOS (via AutoCAD for Mac)
Default storage locationAutoCAD Plot Styles folder (user profile or shared network path)
Automatic backupAutoCAD saves a .ctb.bak copy when a table is overwritten
Compatibility rangeAutoCAD 2000 through AutoCAD 2026 (format unchanged)
Named-style alternative.stb files - styles assigned per object or layer, not per color index
CTB/STB coexistenceA single drawing project cannot use both standards simultaneously
Predecessor formats.pcp and .pc2 pen assignment files (pre-AutoCAD 2000)
Released2000 (AutoCAD 2000 - replaced legacy .pcp/.pc2 pen assignments)
Latest versionStable since AutoCAD 2000; unchanged through AutoCAD 2026
Specificationwww.autodesk.com

CTB conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with CTB files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about CTB files.

Frequently asked questions

What is a CTB file in AutoCAD?
It is a color-dependent plot style table: a settings file mapping each of AutoCAD's 255 colors to a printed color, lineweight, screening and pen number. It controls how a drawing prints, not how it looks on screen.
How do I open or edit a CTB file?
In AutoCAD, run STYLESMANAGER (or click Edit next to the plot-style dropdown in the Plot dialog) to launch the Plot Style Table Editor. There you change per-color lineweights, colors and screening, then Save As.
AutoCAD says the plot style table is missing - what do I do?
The drawing references a CTB that isn't on your machine. Get the .ctb from the drawing's author and copy it into AutoCAD's Plot Styles support folder (Options > Files > Plot Style Table Search Path), then reselect it in Plot.
Where are CTB files stored?
In AutoCAD's 'Plot Styles' support folder. Type STYLESMANAGER to open that folder, or find the path under Options > Files > Printer Support File Path > Plot Style Table Search Path.
What's the difference between CTB and STB?
CTB assigns plot properties by object color (color-dependent); STB assigns them by a named style independent of color. A drawing uses one mode or the other; CTB is the traditional, more common choice.
How do I make a drawing print in black and white?
Select monochrome.ctb (built into AutoCAD) in the Plot dialog's Plot style table list, which forces every color to print black. Or edit a CTB and set all colors' output to black.

References

1Autodesk - CTB/STB missing or damaged (support)www.autodesk.com
2Autodesk Knowledge - Plot style tables overviewhelp.autodesk.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.RPMSGRestricted Permission Message
6.MDMarkdown Document
7.NOMEDIAAndroid No-Media Marker File
8.PRO6XProPresenter 6 Bundle File
9.PRDXSoftMaker Presentations Document
10.EXEWindows Executable (Portable Executable)

Related extensions

.ICACitrix Independent Computing Architecture file
.DS_STOREmacOS Finder Desktop Services Store (.DS_Store)
.WMZWindows Media Player Skin
.CFGConfiguration File
.LICLicense File
.CONFConfiguration File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z