SUBLIME-SYNTAX File
What are SUBLIME-SYNTAX files and how to open them
Are you having problems opening a SUBLIME-SYNTAX file or are you simply curious about its contents? We're here to explain the properties of these files and provide you with software that can open or handle your SUBLIME-SYNTAX files.
What is a SUBLIME-SYNTAX file?
A .SUBLIME-SYNTAX file is a Sublime Text Syntax file.
Sublime Text Syntax (.sublime-syntax) files are used by the Sublime Text editor to define how code and markup files are highlighted. These files describe the rules - that is, patterns - to recognise language constructs (keywords, strings, comments etc.), assign each piece a scope name (used by colour schemes), and organise these rules into contexts so different parts of the file (e.g. within a string, or inside a tag) are handled differently. A syntax file lets Sublime Text understand the structure of a language so that features like syntax highlighting, auto-completion, code folding, and scope-sensitive commands work correctly.
These files are written by language authors or plugin developers when creating or modifying a syntax definition for a programming language or markup language. Once written, .sublime-syntax files are read by Sublime Text itself: the editor parses the YAML-formatted definition, uses it to split the text buffer into scopes, and applies highlighting and other behaviour accordingly. Users rarely run these files directly; instead, Sublime Text loads them whenever you open a file that matches one of its file‐extensions or patterns as defined in the syntax file.
Internally, a .sublime-syntax file begins with a YAML header (often starting with "%YAML 1.2" and "---"), followed by top-level keys like name, file_extensions, scope, version, and contexts. Under contexts, there are named sections each listing patterns using keywords such as match, include, push, pop, meta_scope, captures etc. One of the top‐level contexts must be named main, which is used to start processing. The header fields name, scope, file_extensions and version help Sublime associate the syntax with files and control behaviour. The use of CONTEXTS, SCOPE, NAME and patterns together in the file provides identifiable structure for detecting the syntax format. Byte signatures typically include the ASCII sequence "%YAML 1.2" near the start of the file.
How to open SUBLIME-SYNTAX files
We have identified one SUBLIME-SYNTAX opener that is compatible with this specific type of SUBLIME-SYNTAX file.
Programs that open Sublime Text Syntax files
| Sublime Text | Verified |
Last updated: August 13, 2026
Help us help others
File.org helps thousands of users every day, and we would love to hear from you if you have additional information about SUBLIME-SYNTAX file formats, example files, or compatible programs. Please use the links below or email us at submit@file.org to discuss further.
Not sure exactly what type of file you are trying to open? Try our new File Analyzer. It is a free tool that can identify more than 11,000 different kinds of files - most likely yours too! It will help you find software that can handle your specific type of file. Download File Analyzer here.