.BROWSER

BROWSER File

ASP.NET Browser Definition File
Ask a question
QUICK ANSWER

A .browser file is an XML configuration file that tells an ASP.NET 2.0-4.x web server what capabilities a given browser has (JavaScript, CSS, cookies, and so on). It is a developer-side file, not something end users open. Any text editor opens it. The format is obsolete in ASP.NET Core and .NET 5 and later.

Developer: Microsoft Corporation Category: Web Files MIME: application/xml
OPENS ON Windows

On this page

19k+ extensions indexed
Last reviewed Jul 13, 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 BROWSER file format?

A .browser file is an XML configuration file used by ASP.NET (versions 2.0 through 4.x) to define browser capabilities. It maps User-Agent string patterns to a set of capability flags - JavaScript support, CSS level, cookie handling, screen dimensions - that the ASP.NET runtime uses to adapt server-rendered output to specific clients.

The file follows a hierarchical schema with a <browsers> root element containing <browser> child elements. Each element declares a User-Agent regex pattern, optionally inherits from a parent browser definition via parentID, and lists key-value capability pairs. Files are stored in App_Browsers/ within the web project (application-level overrides) or in the machine-wide directory at %windir%\Microsoft.NET\Framework\v4.0.30319\CONFIG\Browsers\.

At application startup, ASP.NET compiles all .browser files into a BrowserCapabilitiesFactory class. The mechanism replaced the older <browserCaps> section in web.config when ASP.NET 2.0 launched in November 2005.

This system became obsolete as User-Agent sniffing proved unreliable across the proliferation of browsers and devices. ASP.NET Core and .NET 5+ removed BrowserCapabilities entirely in favour of client-side feature detection. Existing .browser files remain relevant only for applications still targeting .NET Framework 4.x on IIS.

Security & safety

RISK: LOW

XML text file with no executable code; configuration data only. No known security risk from viewing or editing. Malformed entries would affect server-side browser detection at worst.

Format details

in a nutshell
FULL NAMEASP.NET Browser Definition Fileaka browser capabilities file, .browser file
DEVELOPERMicrosoft Corporationsince ASP.NET 2.0 (2005)
CATEGORYWeb Files
MIME TYPEapplication/xml
TYPEXML configuration file

Programs that open BROWSER files

Windows3 apps
Microsoft Visual Studio Freemium Open the .browser file in Solution Explorer or File → Open. IntelliSense and schema validation available.
Visual Studio Code Open-source Open .browser file directly; XML syntax highlighting with XML extension.
Notepad++ (or any text editor) Open-source Open as plain text/XML. No ASP.NET-specific features.

Technical details

deep spec
FormatXML (UTF-8 plain text)
Root element<browsers>
Child element<browser> - attributes: id, parentID, defaultStateID
User-Agent matchingRegex patterns declared in <identification> child elements
Capability storageKey-value pairs in <capabilities> child elements (JavaScript, CSS, cookies, screen dimensions, etc.)
InheritanceBrowser entries inherit parent definitions via parentID attribute
Machine-level path%windir%\Microsoft.NET\Framework\v4.0.30319\CONFIG\Browsers\
App-level pathApp_Browsers\ folder inside the ASP.NET web project
CompilationASP.NET compiles .browser files into BrowserCapabilitiesFactory class at application startup
Schema versionASP.NET 2.0+ uses .browser files; 1.x predecessor used <browserCaps> in web.config
Associated OSWindows (IIS + ASP.NET .NET Framework)
Typical file size1 KB - 50 KB
Deprecated in.NET Core / .NET 5+ - BrowserCapabilities mechanism fully removed
ReplacementClient-side feature detection via browser native APIs and libraries such as Modernizr
ReleasedASP.NET 2.0 (2005)
Latest versionASP.NET 4.x (last significant update; deprecated in .NET Core/.NET 5+)
Specificationlearn.microsoft.com

BROWSER conversions

Community Q&A

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

Frequently asked questions

What is a .browser file?
An XML configuration file used by ASP.NET 2.0-4.x to tell the web server what capabilities a particular browser has (JavaScript, CSS, cookies, etc.). It is not a file you open normally - it is part of a .NET web project.
Can I open a .browser file?
Yes, it is a plain XML text file. Open it with any text editor (Notepad, VS Code) or Visual Studio.
My browser opened a .browser file - is that normal?
It should not happen on a correctly configured IIS server (.browser files are server-side only). If you downloaded one, it is a developer configuration file from a .NET project.
Is .browser still used?
Only in legacy ASP.NET 4.x (classic .NET Framework) projects. ASP.NET Core / .NET 5+ (2020+) completely removed BrowserCapabilities - modern apps use JavaScript feature detection instead.
How do I add a new browser definition for ASP.NET?
Create or edit a .browser XML file in your project's App_Browsers/ folder, defining the User-Agent pattern and capabilities. ASP.NET compiles it at startup. Only applicable to .NET Framework 4.x and earlier.

References

1Microsoft Learn - Browser Definition File Schemalearn.microsoft.com
2Microsoft Archive - Browser Capabilities in ASP.NET 4.0learn.microsoft.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.EXEWindows Executable (Portable Executable)
5.M4AMPEG-4 Audio File
6.MDMarkdown Document
7.JPGJPEG Image
8.BINCD/DVD Disc Image (BIN/CUE)
9.DATProgram Data File (generic)
10.JSONJavaScript Object Notation file

Related extensions

.CRDOWNLOADChrome Partial Download File
.JNLPJava Network Launch Protocol file
.WEBARCHIVESafari Web Archive
.PARTPartial Download File
.DOWNLOADPartial / Incomplete Download File
.ASPXActive Server Page Extended (ASP.NET Web Form)

Free file tools

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

Open the toolbox

Browse file extensions A-Z