.XLF

XLF File

XLIFF Localization File
Ask a question
QUICK ANSWER

An XLF file is an XLIFF (XML Localization Interchange File Format) document - the standard XML format for software and content localization. It holds source text paired with translations and flows between developers and translators. Open it for translation with OmegaT (free), Poedit, or Trados Studio; inspect the raw content in any text editor, since it is plain XML.

Developer: OASIS (Organization for the Advancement of Structured Information Standards) Category: Data Files Open standard MIME: application/xliff+xml
OPENS ON Windows macOS Linux Web
Related: .PKPASS · .DAT · .JSON · .RIS

On this page

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

An .xlf file is an XLIFF (XML Localization Interchange File Format) document, the industry-standard format for exchanging software and content localization data between translation tools, teams, and management systems. XLIFF is an open standard published by OASIS; version 1.0 was ratified in 2002, version 1.2 in 2008, and version 2.2 - the current release - in March 2025.

The format is built on XML. In the widely deployed XLIFF 1.2, the document contains <file> elements, each holding <trans-unit> pairs with a <source> (original text segment) and a <target> (translated text), plus metadata such as source/target language codes, translation state, and originating filename. XLIFF 2.x restructures these into <unit> and <segment> elements; the two major version families use different XML schemas and element names and are not backward-compatible. Inline formatting - HTML tags or application placeholders - is preserved using <g>, <x/>, and <ph/> elements.

.xlf and .xliff are the same format; the shorter three-character extension is common on Windows. SDL Trados uses .sdlxliff, a proprietary XLIFF 1.2 extension with Trados-specific metadata.

The typical workflow extracts source text from an application or document into an .xlf file, sends it to translators via a CAT (Computer-Assisted Translation) tool such as OmegaT, memoQ, or Phrase TMS, then reimports the completed file. XLIFF 1.2 is supported by virtually every major CAT tool and translation management system. Related localization interchange formats include TMX (translation memory) and PO (GNU gettext).

Security & safety

RISK: LOW

XLIFF is plain XML - no executable code, macros, or scripts. It is a data-only text format. No security risks associated with opening XLIFF files; they can be safely inspected in any text editor.

Format details

in a nutshell
FULL NAMEXLIFF Localization Fileaka XLIFF file, XML Localization Interchange File Format
DEVELOPEROASIS (Organization for the Advancement of Structured Information Standards)since 2002 (XLIFF 1.0 OASIS standard); 1.2 ratified February 2008; 2.0 August 2014
CATEGORYData Files
MIME TYPEapplication/xliff+xml
TYPEXML-based localization interchange file, text
STANDARDOpen · royalty-free

Programs that open XLF files

Windows6 apps
OmegaT Open-source Create a project, set source/target languages, place .xlf in the /source/ folder; OmegaT loads segments for translation and exports to /target/.
Swordfish Paid Open XLIFF file as translation project; translate and export.
Poedit Freemium Open the .xlf file directly; Poedit displays source/target pairs for editing and saves translated XLIFF.
SDL Trados Studio / Trados 2024 Paid Open as a bilingual document; translate target segments and save. Trados exports its own .sdlxliff internally.
memoQ Paid Import the .xlf file as a document; translate and export.
Notepad++ (to view/edit raw XML) Open-source Open to inspect or manually edit XML structure; Plugins > XML Tools for formatting.
macOS3 apps
OmegaT Open-source Same as Windows: add .xlf to project /source/ folder, translate, export.
Swordfish Paid Open XLIFF as a translation project; macOS version available.
Poedit Freemium Open the .xlf file directly for translation.
Linux2 apps
OmegaT Open-source Java-based; runs on Linux. Add .xlf to project /source/, translate, export.
Swordfish Paid Java-based; available for Linux.
Web2 apps
Phrase TMS (Memsource) Paid Upload XLIFF file as a translation job; assign to translators; download translated XLIFF.
Lokalise Paid Import .xlf file; use in-browser editor; export translated XLIFF.

Technical details

deep spec
XML root element`<xliff>` with mandatory `version` attribute - `1.2`, `2.0`, `2.1`, or `2.2`
XLIFF 1.2 translation unit`<trans-unit>` containing `<source>` and `<target>` within `<body>` inside a `<file>` element
XLIFF 2.x translation unit`<unit>` containing `<segment>` with `<source>` and `<target>` - different schema, incompatible with v1.2
Language code attributesBCP 47 tags (e.g., `en-US`, `de-DE`) in `source-language` and `target-language` on `<file>`
Inline markup elements`<g>` (generic group), `<x/>` (standalone placeholder), `<ph/>` (phase placeholder) for preserving formatting
Translation state`state` attribute on `<target>` element (e.g., `needs-translation`, `translated`, `final`)
MIME type`application/xliff+xml`
EncodingUTF-8 (required by spec); UTF-16 also valid XML
Current versionXLIFF 2.2 - OASIS standard, ratified March 13, 2025
Proprietary variant`.sdlxliff` (SDL/Trados) - XLIFF 1.2 superset with Trados-specific metadata
Version compatibilityXLIFF 1.2 and 2.x are not backward-compatible; tools must handle each version separately
Typical content size50-500 KB for software UI strings; up to 50 MB for large document localization projects
Related standardsTMX (Translation Memory eXchange), TBX (TermBase eXchange), PO (GNU gettext)
Released2002 (XLIFF 1.0 OASIS standard); 1.2 ratified February 2008; 2.0 August 2014
Latest versionXLIFF 2.2 (March 13, 2025)
Open standardYes · royalty-free
Specificationdocs.oasis-open.org

XLF conversions

Community Q&A

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

Frequently asked questions

What is an .xlf file?
An XLIFF (XML Localization Interchange File Format) document - an open XML standard for software and content localization. It contains source text paired with translations, used throughout the localization industry.
How do I open an .xlf file?
For translation: use OmegaT (free), Poedit (free/paid), or professional CAT tools (Trados, memoQ). To inspect the raw content: any text editor or XML viewer (Notepad++, VS Code) works - it's plain XML.
What is the difference between .xlf and .xliff?
Nothing - they are the same format with different extension lengths. The 3-character .xlf form was common on older Windows systems; .xliff is the full extension. Both work identically in all tools.
What is the difference between XLIFF 1.2 and XLIFF 2.x?
They are incompatible XML schemas with different element names. XLIFF 1.2 (2008) uses <trans-unit> and is still the most widely supported. XLIFF 2.x uses <unit>/<segment> and is adopted by newer tools. Check which version your tool expects.
Can I edit an XLIFF file manually?
Yes - it's XML. Open in a text editor, find the <target> elements, and add translations. For large files or many segments, use a CAT tool for productivity.
What is .sdlxliff?
.sdlxliff is a Trados Studio proprietary extension of XLIFF 1.2 with additional Trados metadata. It is not a standard XLIFF file but shares the same XML foundation. Open .sdlxliff in Trados Studio; standard XLIFF tools may struggle with the Trados-specific elements.

References

1Wikipedia - XLIFFen.wikipedia.org
2OASIS - XLIFF Version 1.2 Specificationdocs.oasis-open.org

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.BINCD/DVD Disc Image (BIN/CUE)
6.DATProgram Data File (generic)
7.RPMSGRestricted Permission Message
8.MDMarkdown Document
9.NOMEDIAAndroid No-Media Marker File
10.TXTPlain Text File

Related extensions

.PKPASSApple Wallet Pass (formerly Passbook)
.DATProgram Data File (generic)
.JSONJavaScript Object Notation file
.RISResearch Information Systems citation file
.OFXOpen Financial Exchange
.CSVComma-Separated Values

Free file tools

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

Open the toolbox

Browse file extensions A-Z