.CHR

CHR File

Borland BGI Stroke Font File
Ask a question
QUICK ANSWER

A .chr file is most likely a Borland BGI stroke font from the Turbo C / Turbo Pascal era, or an Autodesk 3ds Max 3D character file -- two unrelated formats sharing the same extension. Borland .chr files have no modern viewer; use a hex editor to identify one and DOSBox to render it. A 3ds Max .chr opens in 3ds Max only.

Developer: Borland International Category: Font Files MIME: application/octet-stream
OPENS ON Windows
Related: .WOFF · .TTF · .EOT · .MCF

On this page

19k+ extensions indexed
Last reviewed Sep 7, 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 CHR file format?

.chr files store vector stroke font data for the Borland Graphics Interface (BGI) - the graphics library that shipped with Borland's Turbo C and Turbo Pascal compilers from the late 1980s. Unlike raster or outline fonts, .chr encodes each glyph as a series of stroke vectors (move-and-draw line segments) that the BGI runtime scales to any size on screen. Borland supplied ten built-in stroke fonts in this format: TRIP, LITT, SANS, GOTH, SCRI, SIMP, TSCR, LCOM, EURO, and BOLD, each a separate .chr file bundled with the compiler.

The .chr format is binary, little-endian, and proprietary, opening with the magic bytes 50 4B 08 08 and an ASCII Borland copyright header that names the font and provides offsets into the stroke table. Files are compact - typically 5-15 KB. DOS programs loaded them via BGI calls like registerfont() and settextstyle(). The format has since been superseded by scalable formats such as TrueType fonts; related legacy font types include .FON and .FNT (Windows bitmap fonts) and .BGI (the BGI graphics driver itself). Note that the .chr extension is also used by Autodesk 3ds Max for character model files storing geometry, textures, and animation - an unrelated format with no connection to the Borland stroke-font standard.

Security & safety

RISK: LOW

A Borland .CHR stroke font is small, inert legacy data - it isn't executed and poses no real risk to open or inspect. The only practical issues are non-malicious: it's an obsolete format with no modern viewer, so a hex editor or a DOSBox/BGI demo is needed to do anything with it. As always, confirm an unidentified .chr's true type (Borland font vs 3ds Max character vs game data) before trusting whatever program you guess.

Format details

in a nutshell
FULL NAMEBorland BGI Stroke Font Fileaka Borland Graphics Interface font, BGI stroke font
DEVELOPERBorland Internationalsince Late 1980s, with Borland's Turbo C / Turbo Pascal and the BGI graphics library
CATEGORYFont Files
MIME TYPEapplication/octet-stream
TYPEVector (stroke) font for the Borland Graphics Interface (BGI)
This extension is also used by…
  • Autodesk 3ds Max character file (.chr) - 3ds Max uses .chr to store a character (rigged figure) for the Character Assembly feature - a 3D asset opened in 3ds Max, unrelated to the Borland font. This is the meaning the legacy DB mistakenly paired with the Borland-font name.
  • Generic 'character'/data files (.chr) - Various games and apps use .chr for character data, tilesets (e.g. NES CHR-ROM graphics) or settings - meaning depends on the creating program.
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
504B0808
ASCII
PK··
Borland .CHR stroke fonts begin with the bytes 50 4B 08 08 ("PK" followed by 0x08 0x08) immediately followed by an ASCII Borland copyright string ("...Borland Intl."). The header carries the font name (e.g. TRIP, LITT, SANS, GOTH) and offsets into the stroke definitions. Do not confuse with the unrelated 3ds Max 'character' meaning of .chr (see also_used_by), which has no such header.

Programs that open CHR files

Windows3 apps
A hex editor (HxD) Free Open the .chr to confirm it's a Borland font (the 'PK' header + 'Borland' string) and inspect its bytes. There's no native viewer for the stroke data.
Borland/Turbo C BGI tooling or an emulator (DOSBox) Open-source Run a Turbo C/Pascal BGI demo (or the BGIDEMO) under DOSBox to render the font as it was designed to be displayed.
Autodesk 3ds Max Paid ONLY if your .chr is actually a 3ds Max character file (the also_used_by meaning) - Merge/load it in 3ds Max. It cannot open a Borland font.

Technical details

deep spec
File typeVector stroke font (glyphs encoded as move/draw line-segment commands)
DeveloperBorland International
EncodingBinary, proprietary Borland BGI font format
Byte orderLittle-endian
Magic bytes50 4B 08 08 ("PK\x08\x08") at offset 0, followed by an ASCII Borland copyright string
Typical file size5-15 KB per font file
Glyph representationEach character defined as a sequence of stroke vectors - line-segment drawing commands, not bitmaps or outlines
ScalabilityFully scalable; the BGI runtime sizes glyphs at draw time with no fixed pixel resolution
Built-in font setTen standard faces shipped with BGI: TRIP, LITT, SANS, GOTH, SCRI, SIMP, TSCR, LCOM, EURO, BOLD
BGI API functionsregisterfont(), settextstyle(), settextjustify()
Associated platformMS-DOS; also accessible in legacy Windows dev environments and DOSBox emulation
CompressionNone - stroke data stored uncompressed
MIME typeapplication/octet-stream
Superseded byTrueType (.ttf) and OpenType scalable outline fonts; BGI itself superseded by modern graphics APIs
Extension conflictThe .chr extension is also claimed by Autodesk 3ds Max for character model files - an entirely unrelated binary format
ReleasedLate 1980s, with Borland's Turbo C / Turbo Pascal and the BGI graphics library
Latest versionFrozen with the BGI era; no modern versioning
Specificationen.wikipedia.org

CHR conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with CHR 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 CHR files.

Frequently asked questions

What is a .chr file?
In the Borland sense it's a stroke (vector) font for the Borland Graphics Interface (BGI), shipped with Turbo C / Turbo Pascal to draw text in old DOS graphics programs. The same extension is also used by Autodesk 3ds Max for 3D character files and by various games for character/graphics data.
How do I open a Borland .chr font file?
There's no modern double-click viewer. Confirm it's a Borland font with a hex editor (look for the 'PK' header and a 'Borland' copyright string), and render it by running a Turbo C/Pascal BGI demo under DOSBox. It can't be installed as a Windows system font.
Can I convert a Borland .chr to a TrueType (.ttf) font?
Not directly. A .CHR is an open-path stroke font; TTF needs closed outlines. You'd have to manually re-author the glyphs as TTF outlines in a font editor like FontForge - there's no automatic converter.
My .chr opens in 3ds Max, not as a font - why?
Then it's the OTHER .chr: an Autodesk 3ds Max character (rigged 3D figure) file, which is unrelated to the Borland font. Open it in 3ds Max. The legacy database mixed up these two meanings.
Is a .chr file a system font I can install?
No. A Borland .CHR is a legacy BGI stroke font used inside old DOS programs, not a Windows/macOS installable font. Modern systems use TrueType/OpenType (.ttf/.otf).

References

1Wikipedia - Borland Graphics Interface (BGI)en.wikipedia.org
2FontForge - open-source font editor (for re-authoring glyphs)fontforge.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BINCD/DVD Disc Image (BIN/CUE)
3.MDMarkdown Document
4.RPMSGRestricted Permission Message
5.CRDOWNLOADChrome Partial Download File
6.PARTPartial Download File
7.NOMEDIAAndroid No-Media Marker File
8.EXEWindows Executable (Portable Executable)
9.SWFSmall Web Format (Shockwave Flash)
10.DBSQLite Database File

Related extensions

.WOFFWeb Open Font Format
.TTFTrueType Font
.EOTEmbedded OpenType Font
.MCFMathcad Font / Resource File
.OTFOpenType Font
.BDFGlyph Bitmap Distribution Format

Free file tools

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

Open the toolbox

Browse file extensions A-Z