File extensions quick reference
Website files
-
.htmlAn HTML file holds the structure and content of a web page, such as headings, paragraphs, images, and links. The browser reads the file and builds the page the visitor sees from it.
-
.htmThe .htm extension serves the same purpose as .html and refers to the same format.
-
.xhtmlAn XHTML file holds a web page written to the strict syntax rules of XML. The format is old and is rarely used on new websites.
-
.shtmlAn SHTML file is an HTML page into which the server inserts content from other files before sending it to the browser, for example a shared menu. The method is old, and on most websites it has been replaced by server-side programming languages.
-
.cssA CSS file defines the design of a website's pages, such as colors, fonts, spacing, and layout.
-
.scssAn SCSS file holds styling code in Sass syntax, which adds variables, nesting, and functions to CSS. Before you upload it to the website, compile the file into a regular CSS file.
-
.lessA LESS file holds styling code in the Less language, which is similar to SCSS and adds variables and functions to CSS. This file is also compiled into a regular CSS file before it is used on the website.
-
.jsA JS file holds JavaScript code that adds interactivity to a page, such as drop-down menus, form validation, and content that updates without reloading. The language is also used on the server side, in Node.js.
-
.mjsAn MJS file holds JavaScript code written as a module, using import and export statements.
-
.cjsA CJS file holds JavaScript code in the older Node.js module system, which is based on the require function.
-
.mapA source map file links minified code to the original source code and helps you find errors in the browser's developer tools. The file exposes the source code, so on most websites there is no need to upload it to the server.
-
.phpA PHP file holds code that the server runs before it sends the page to the browser, so the visitor receives only the result, not the code.
-
.aspAn ASP file holds a dynamic page in Microsoft's older technology, which the server runs before it sends the page to the browser. The technology has largely been replaced by the ASP.NET platform.
-
.aspxAn ASPX file holds a dynamic page on Microsoft's ASP.NET platform, which runs mainly on Windows servers.
-
.jspA JSP file holds a dynamic page that includes Java code, which the server runs before it sends the page to the browser.
-
.cgiA CGI file holds a script, usually in Perl, that the server runs as a separate program on every request. The method is old and rare on new websites.
-
.xmlAn XML file holds structured data in tags and is used, for example, for sitemaps and RSS feeds. To view the file neatly formatted, you can use the XML formatter tool.
-
.jsonA JSON file holds data as keys and values, and it is the standard format for exchanging data between websites, apps, and servers. To check the syntax and format the file, you can use the JSON formatter tool.
-
.webmanifestA web app manifest file defines the name, icon, and colors of a website that is installed as an app on a phone or computer.
-
.wasmA WebAssembly file holds compiled code that the browser runs at high speed, for example in image editors and online games.
Images
-
.jpgJPEG is the most common format for photos, and it opens on every computer, phone, and browser. Its compression slightly reduces quality, so it is less suited to text and graphics with sharp lines.
-
.jpegThe .jpeg extension is identical to .jpg and refers to exactly the same format.
-
.pngPNG saves images without quality loss and supports transparent backgrounds, so it suits logos, screenshots, and graphics.
-
.gifGIF is limited to 256 colors and is used mainly for short animations. On a website, a short MP4 or WebM video is usually much smaller than a GIF animation of the same length.
-
.webpWebP compresses images better than JPEG and PNG and supports transparency and animation. The format suits most images on a website and is supported by most modern browsers.
-
.avifAVIF usually compresses images better than WebP and supports transparency and a wide color gamut. The format is supported by most modern browsers, but creating the files takes longer, and older software does not open them.
-
.jxlJPEG XL is a modern image format with efficient compression that can shrink existing JPEG files without quality loss. Browser support for the format varies, so do not rely on it as the only image format on a website.
-
.svgAn SVG file describes vector graphics that stay sharp at any size, so it suits logos and icons on a website. An SVG file can contain scripts, so SVG files that visitors upload to a website should be sanitized.
-
.icoAn ICO file can hold the same icon in several sizes and is used mainly for the website icon in the browser tab, in the favicon.ico file.
-
.bmpBMP usually saves images without compression, so the files are very large. The format is not suitable for websites.
-
.tifTIFF saves high-quality images without loss and is used mainly in printing, scanning, and photo archives. Most browsers do not display TIFF files, so convert them before you upload them to a website.
-
.tiffThe .tiff extension is identical to .tif and refers to the same format.
-
.heicHEIC is the default photo format on iPhone devices, and HEIC files are much smaller than JPEG files of similar quality. Browser support for the format varies, so convert HEIC photos before you upload them to a website.
-
.psdA PSD file is an Adobe Photoshop working file that keeps all layers and effects for further editing. For use on a website, export an image from it in a standard format, such as WebP or PNG.
-
.aiAn AI file is an Adobe Illustrator working file and usually serves as the source file of a logo or vector graphics.
-
.epsAn EPS file holds vector graphics in an older format that is still used to send logos to designers and print shops.
-
.rawSome cameras use the .raw extension to save the sensor's raw data, which gives you a lot of flexibility when editing. For use on a website, open the file in photo editing software and export a standard image from it.
-
.dngDNG is an open Adobe format for raw photos, and some cameras and phones save photos in it.
-
.cr2A CR2 file holds a raw photo from older Canon camera models.
-
.cr3A CR3 file holds a raw photo from recent Canon camera models.
-
.nefAn NEF file holds a raw photo from Nikon cameras.
-
.arwAn ARW file holds a raw photo from Sony cameras.
Video
-
.mp4MP4 is the most common video format, and it opens on every computer, phone, and browser. It is the right choice for a video hosted on the website itself.
-
.m4vApple's M4V format is very similar to MP4 and opens in most video players.
-
.webmWebM is an open video format designed for the web and supported by most modern browsers. It suits background videos and short animations on a website.
-
.movMOV is Apple's video format and is common in videos recorded on iPhone devices. Not every browser displays it, so convert a MOV video to MP4 before you upload it to a website.
-
.mkvMKV can combine video, several audio tracks, and subtitles in several languages in one file. Players such as VLC open it, but browser support for it is partial.
-
.aviAVI is an old Microsoft video format that opens in most video players. The format is not suitable for websites.
-
.wmvWMV is the video format of Windows Media Player, and most browsers do not display it.
-
.flvAn FLV file holds video that was once played in Flash players on websites, and browsers no longer support it.
-
.mpgAn MPG file holds video in the older MPEG standard, which was once used on video CDs and in cameras.
-
.mpegThe .mpeg extension is identical to .mpg and refers to the same format.
-
.3gp3GP was used for recording video on older mobile phones, and players such as VLC still open it.
-
.ogvAn OGV file holds video in the open Ogg format, which was once used on websites alongside MP4. Today WebM has replaced it in most uses.
-
.m3u8An M3U8 file is a text playlist for HLS video streaming that points to short segments of the video. Video players on websites and phones use it for live streams and adaptive-quality streaming.
-
.swfAn SWF file holds an Adobe Flash animation or application, and browsers have stopped supporting it.
-
.srtAn SRT file holds subtitles for a video in plain text, with a start time and an end time for each line.
-
.vttA VTT file holds subtitles in the WebVTT format, which is designed for browsers and used for videos shown on websites.
Audio
-
.mp3MP3 compresses audio to a small size and opens on almost every device, player, and browser.
-
.m4aAn M4A file holds compressed audio, usually in AAC format, and is used mainly in Apple products and for phone recordings.
-
.aacAAC compresses audio more efficiently than MP3 and is used by streaming services and in many videos.
-
.wavA WAV file usually stores audio uncompressed at full quality, so the files are very large. The format suits recording and editing, and is less suited to playback on a website.
-
.flacFLAC compresses audio without quality loss and is used to store music at full quality in less space than WAV.
-
.oggAn OGG file usually holds audio in the open Vorbis format and opens in most players and in many browsers.
-
.opusOpus is designed for audio and speech over the internet and is used in calling apps and voice messages.
-
.wmaWMA is the audio format of Windows Media Player and is supported mainly by Microsoft software.
-
.aifAn AIFF file stores uncompressed audio, similar to a WAV file, and is used in recording studios and in Apple's audio software.
-
.aiffThe .aiff extension is identical to .aif and refers to the same format.
-
.midA MIDI file holds no recorded audio, only playing instructions, such as notes, volume, and instruments. Software or an electronic instrument produces the sounds from the instructions.
-
.midiThe .midi extension is identical to .mid and refers to the same format.
-
.amrAMR is designed for speech compression and is used in call recordings and on older phones.
-
.m3uAn M3U file is a plain-text playlist that points to audio files or internet radio stations and holds no audio itself.
Documents
-
.pdfA PDF file suits documents sent for reading, printing, and signing, because its layout does not change between devices. Most browsers open PDF files without additional software.
-
.docA DOC file is a document in the old Microsoft Word format, which still opens in most word processors.
-
.docxA DOCX file is a document in the current Microsoft Word format, and it also opens in Google Docs and LibreOffice.
-
.xlsAn XLS file is a spreadsheet in the old Microsoft Excel format.
-
.xlsxAn XLSX file is a spreadsheet in the current Microsoft Excel format, and it also opens in Google Sheets and LibreOffice.
-
.xlsmAn XLSM file is an Excel spreadsheet that contains macros, meaning code that runs inside the file. Enable macros only in a file from a known source.
-
.pptA PPT file is a presentation in the old Microsoft PowerPoint format.
-
.pptxA PPTX file is a presentation in the current Microsoft PowerPoint format, and it also opens in Google Slides and LibreOffice.
-
.ppsxA PPSX file is a PowerPoint presentation that opens directly in slideshow mode, without the editing screen.
-
.odtAn ODT file is a text document in the open OpenDocument format, which is the default in LibreOffice and also opens in Word.
-
.odsAn ODS file is a spreadsheet in the open OpenDocument format.
-
.odpAn ODP file is a presentation in the open OpenDocument format.
-
.rtfAn RTF file is a text document with basic formatting that opens in almost any word processor and suits moving documents between different programs.
-
.txtA TXT file holds text only, without fonts, colors, or images, and it opens in any text editor. A website's robots.txt file is also a plain text file, and to create one you can use the robots.txt generator tool.
-
.csvA CSV file stores a table as text: each line in the file is a record, and commas separate the columns. Spreadsheet programs open it, and it is used to import and export products, customers, and other data.
-
.tsvA TSV file is similar to a CSV file, but its values are separated by tab characters instead of commas.
-
.epubAn EPUB file is an e-book whose text adapts to the screen size, and it opens in most e-readers and reading apps.
-
.pagesA PAGES file is a document created in Pages, Apple's word processor.
-
.numbersA NUMBERS file is a spreadsheet created in Numbers, Apple's spreadsheet app.
-
.emlAn EML file stores a complete email message, including the headers and attachments, and you can open it in most email programs.
-
.vcfA VCF file holds contact details in the vCard format, such as name, phone number, and email address, and you can import it into the contacts on your phone or in an email program.
-
.icsAn ICS file holds an event or a calendar that you can add with one click to the calendar on your phone, your computer, or an online calendar service.
Archives and compression
-
.zipA ZIP file packs files and folders into one compressed file and suits sending and downloading several files together. Windows and macOS open it with a double-click.
-
.rarA RAR file is created in WinRAR and also opens in free programs, such as 7-Zip.
-
.7zA 7Z file is usually created in 7-Zip and typically achieves stronger compression than a ZIP file.
-
.tarA TAR file packs files and folders into one file without compression and keeps the permissions and the folder structure. A TAR archive is usually compressed in an additional step, for example into a TAR.GZ file.
-
.tar.gzA TAR.GZ file holds a TAR archive compressed with gzip and is commonly used for website backups on Linux servers.
-
.tgzThe .tgz extension is short for .tar.gz and refers to the same format.
-
.gzA GZ file holds a single file compressed with gzip, for example an old log or a database backup.
-
.bz2A BZ2 file holds a file compressed with bzip2, which compresses better than gzip but more slowly.
-
.xzAn XZ file holds a file compressed with xz, which achieves especially strong compression and is used in Linux distributions and software archives.
-
.zstA ZST file holds a file compressed with Zstandard, which combines good compression with high speed and is common in backups and software packages.
-
.isoAn ISO file is an optical disc image, used mainly to distribute and install operating systems, including in virtual machines.
-
.imgAn IMG file is a disk image of a drive or a memory card and is used, for example, to write an operating system to a memory card or a USB drive.
-
.cabA CAB file is a compressed archive that Windows uses for operating system installations and updates.
Code and data
-
.yamlA YAML file holds settings and data in a structure defined by indentation and is used in apps, cloud services, and automation tools. To convert between YAML and JSON, you can use the YAML and JSON converter tool.
-
.ymlThe .yml extension is identical to .yaml and refers to the same format.
-
.tomlA TOML file holds settings in a simple syntax of sections, keys, and values and is used in Python and Rust projects.
-
.iniAn INI file holds settings as key and value lines, divided into sections with headings in square brackets. A well-known example is the php.ini file, which sets the PHP configuration.
-
.mdAn MD file holds text in Markdown syntax, with simple markup for headings, lists, and links, and is used mainly for project documentation.
-
.pyA PY file holds code in Python, a language used for automation, data analysis, and web applications.
-
.ipynbAn IPYNB file is a Jupyter notebook that combines code, output, charts, and explanations in one document.
-
.rbAn RB file holds code in Ruby, a language used, among other things, to build websites with the Ruby on Rails framework.
-
.plA PL file usually holds code in Perl, an old language for text processing and server scripts.
-
.javaA JAVA file holds Java source code, which is compiled into CLASS files before it runs.
-
.goA GO file holds code in Go, a language used to write servers and fast command-line tools.
-
.rsAn RS file holds code in Rust, a language that combines high performance with protection against memory errors.
-
.cA C file holds source code in C, a language used to write operating systems, device drivers, and many programs. Header files for the language use the .h extension.
-
.cppA CPP file holds source code in C++, a language used for software, games, and systems that require high performance.
-
.csA CS file holds code in Microsoft's C# language, which is used for apps, websites, and games.
-
.tsA TS file usually holds TypeScript code, which is JavaScript with type definitions, compiled into JavaScript before it runs. The same extension is also used for video segments in streaming, so identify the file type from the context.
-
.jsxA JSX file holds JavaScript code with HTML-like tags and is used mainly in React projects.
-
.vueA VUE file holds a Vue.js component that combines a template, code, and styling in one file.
-
.shAn SH file holds a Linux shell script, meaning commands that run in sequence as one program. To run the script directly, it needs execute permission, which you grant with the chmod +x command.
-
.ps1A PS1 file holds a script for PowerShell, the Windows command shell and automation tool.
-
.batA BAT file holds Windows command-line commands saved in a file so they run together. Run such a file only from a known source.
-
.vbsA VBS file holds a script in VBScript, an old Microsoft language for automation in Windows. Run such a file only from a known source.
Server and configuration files
-
.htaccessA .htaccess file defines rules for a website directory, such as redirects, friendly URLs, and access restrictions, on servers that support Apache syntax. To create redirect rules, you can use the .htaccess redirect generator tool.
-
.htpasswdA .htpasswd file is used to password-protect a directory and stores usernames and password hashes, not the passwords themselves. This file should not be accessible from the internet.
-
.user.iniA .user.ini file lets you change PHP settings per directory, such as the maximum upload size and the memory limit, on servers that support it.
-
.confA CONF file holds the settings of a service or program, for example a web server or a database. On Linux servers, most of these files are in the /etc directory.
-
.cfgA CFG file holds program settings, similar to a CONF file, and its structure varies from program to program.
-
.envA .env file holds an application's environment settings, often including database passwords and API keys. This file should not be accessible from the internet.
-
.logA LOG file is a log in which a program or server records events and errors, and it is used to troubleshoot problems. This file should not be accessible from the internet.
-
.bakA BAK file is a backup copy of another file, created before editing or an upgrade, and it may contain code and passwords. This file should not be accessible from the internet.
-
.oldA file with the .old extension is an earlier version of a file saved before a change, and like a BAK file it may contain code and passwords. This file should not be accessible from the internet.
-
.swpAn SWP file is a temporary file that the Vim text editor creates while editing, and it holds the contents of the file being edited. This file should not be accessible from the internet.
-
.pidA PID file holds the process ID of a running service and lets the system check whether the service is already running and stop it.
-
.sockA SOCK file is a local connection point between two processes on the same server, for example between the web server and the database, without going through the network.
-
.serviceA SERVICE file defines a systemd service in Linux, including the start command, the user that runs the service, and the restart conditions.
Certificates and keys
-
.pemA PEM file is a text file that can hold a certificate, a private key, or a certificate chain, between BEGIN and END lines. To decode a certificate, you can use the SSL certificate decoder tool.
-
.crtA CRT file holds an SSL certificate, usually in PEM format, and it is installed on the server together with the private key.
-
.cerA CER file holds a certificate in text or binary format and is common mainly in Windows environments.
-
.derA DER file holds a certificate in binary format, and you can convert it to PEM format with tools such as OpenSSL.
-
.keyA KEY file usually holds the private key of an SSL certificate, which you should never share with anyone, but Keynote presentations are also saved with the same extension. This file should not be accessible from the internet.
-
.csrA CSR file is a signed request for an SSL certificate, created together with the private key and sent to the certificate authority. To check the details in the request, you can use the CSR decoder tool.
-
.pfxA PFX file bundles a certificate, a private key, and a certificate chain into one password-protected file and is used to move certificates between servers, mainly in Windows environments.
-
.p12The .p12 extension serves the same purpose as .pfx and refers to the same format.
-
.p7bA P7B file holds a certificate and an intermediate certificate chain without a private key, and it is common in Windows environments.
-
.pubA PUB file holds a public key, usually an SSH key, that is copied to the server so you can log in without the server password. The matching private key is usually stored in the same directory under the same name without an extension, and to create a key pair you can use the SSH key generator tool.
-
.ppkA PPK file holds a private key in the format of PuTTY, a popular SSH client for Windows, and it belongs on your own computer only. This file should not be accessible from the internet.
-
.ascAn ASC file usually holds a PGP key or signature in text form and is used to verify the origin and integrity of a downloaded file.
-
.gpgA GPG file holds data encrypted or signed with GnuPG, and it can be opened only with the matching key.
Fonts
-
.woff2WOFF2 is a compressed font format designed for websites and supported by most modern browsers. It is the recommended format for website fonts.
-
.woffWOFF is the previous generation of web font formats, with less efficient compression. When a WOFF2 file is available, this format is needed only to support very old browsers.
-
.ttfA TTF file is a TrueType font that you can install on a computer and use in all programs. For use on a website, convert it to WOFF2, which is much smaller.
-
.otfAn OTF file is an OpenType font that supports advanced typographic features. For use on a website, convert this file to WOFF2 as well.
-
.ttcA TTC file bundles several TrueType fonts in one file and is common for system fonts.
-
.eotAn EOT file is a font in a format needed only by old versions of Internet Explorer, and there is no need to include it on a new website.
Executable and installation files
-
.exeAn EXE file is a program that runs on Windows. Run such a file only from a known source.
-
.msiAn MSI file is a Windows installer package used to install, repair, and cleanly remove software.
-
.dmgA DMG file is a macOS disk image, a common way to distribute software for installation on Mac computers.
-
.pkgA PKG file is a macOS installer package that installs software through an installation wizard.
-
.appThe .app extension marks an installed macOS application that bundles all of the program's files in one package. The system shows the package as a single file that opens with a double-click.
-
.apkAn APK file is an Android app installation package. Install such a file only from a known source, because the installation bypasses the app store's checks.
-
.ipaAn IPA file is an app package for iPhone and iPad devices, usually installed through Apple's App Store.
-
.debA DEB file is a software package for Debian-based Linux distributions, such as Ubuntu.
-
.rpmAn RPM file is a software package for Red Hat-based Linux distributions.
-
.appimageAn AppImage file holds a Linux program with everything it needs to run, and it runs without installation on most distributions once it has execute permission.
-
.snapA SNAP file is a Linux software package in the Snap format, used mainly on Ubuntu and also on other distributions.
-
.jarA JAR file is an archive of a Java program that runs in the Java environment installed on the computer or server.
Databases
-
.sqlAn SQL file holds database commands and is used mainly to back up and restore a complete database, for example the database of a WordPress website. This file should not be accessible from the internet.
-
.dbMany programs use the .db extension for database files, and such a file opens only in the program that created it or in a suitable tool. This file should not be accessible from the internet.
-
.sqliteA SQLITE file holds a complete database in one file and is used in apps, browsers, and small websites. This file should not be accessible from the internet.
-
.sqlite3The .sqlite3 extension is identical to .sqlite and refers to the same format.
-
.mdbAn MDB file is a Microsoft Access database in the old format.
-
.accdbAn ACCDB file is a Microsoft Access database in the current format.
-
.frmAn FRM file stores a table's structure in MariaDB and in older versions of MySQL, alongside the table's data files.
-
.ibdAn IBD file holds the data and indexes of an InnoDB table in MySQL and MariaDB. Copying these files directly is no substitute for a proper backup to an SQL file.
-
.mydAn MYD file holds the data of a MyISAM table, an older storage engine in MySQL and MariaDB.
-
.myiAn MYI file holds the indexes of a MyISAM table.
-
.rdbAn RDB file is a snapshot of Redis data, saved to disk and used to restore the data after a restart.
System and temporary files
-
.dllA DLL file holds shared code that several Windows programs can load and use. Deleting a DLL file may cause a program to stop working.
-
.sysA SYS file is usually a Windows system file, such as a hardware device driver. Do not delete or move these files.
-
.lnkAn LNK file is a Windows shortcut that holds only the path to a file, folder, or program. Deleting the shortcut leaves the target in place.
-
.regA REG file holds changes to the Windows Registry, and double-clicking it adds them to the registry. Run such a file only from a known source.
-
.scrAn SCR file is a Windows screen saver, and technically it is a full executable program. Open such a file only from a known source.
-
.dmpA DMP file stores the memory contents at the moment a program or the operating system crashes. Developers and support staff analyze the file to find the cause of the problem.
-
.DS_StoreA .DS_Store file is a hidden file that macOS creates in folders to save their view settings. The file is not needed on a website, and there is no need to upload it to the server.
-
.tmpA TMP file is created while a program is working, to store intermediate data. You can usually delete an old temporary file when the program that created it is closed.
-
.partA PART file holds the part of a file that has already been downloaded while the download is in progress, for example in Firefox. You can open the file only after the download finishes.
-
.crdownloadA CRDOWNLOAD file holds an unfinished download in Chrome and Chromium-based browsers. You can sometimes resume an interrupted download from the browser's downloads list.
No matching extensions.
A file name usually ends with a dot and a few characters, such as report.pdf or logo.png, and that part is called the extension. The operating system uses the extension to identify the file type and to choose the program that opens the file and the icon shown next to it. Some files, such as .htaccess and .env, start with a dot, and on Linux a dot at the start of the name hides the file from the regular file list.
On a website, the server uses the extension to set the content type, known as the MIME type, and sends it to the browser in the Content-Type header. When the type is wrong, the browser may download a file instead of displaying it, or block style sheets and scripts. You can check the header the server sends with the HTTP header analyzer. Sensitive files, such as .env, .sql, .bak, and .log files, should not be stored in the website's public directory, because the server sends such files as they are, including the passwords and data in them.
Scheduled tasks on a server are defined in the crontab file, which has no extension, and you edit it with the crontab -e command. To build a schedule, you can use the Cron expression generator.
Windows and macOS hide the extensions of known file types by default. In Windows, you turn on extensions in File Explorer, in the View menu, by selecting the option to show file name extensions. In macOS, you turn them on in the Finder settings window, on the Advanced tab, by selecting the option to show all filename extensions.
File extensions FAQ
Which image format is right for a website?
WebP suits most images on a website, and AVIF saves even more space. For logos and icons, SVG is the right format because it stays sharp at any size, and PNG suits graphics with transparency when no vector version is available. HEIC, TIFF, and BMP files are not suitable for a website, so convert them before you upload them.
What is the difference between zip and tar.gz?
The main difference is that a ZIP file compresses each file separately and opens directly in Windows and macOS, while tar.gz first packs all the files into one file and only then compresses it. The tar.gz format fully preserves Linux file permissions and ownership, so it is common for backing up websites and moving them between servers. In addition, tar.gz compression is usually better, especially when there are many small files.
How do I open a file with an unfamiliar extension?
First look up the extension on this page or in a search engine to find out which program created the file. In Windows and macOS, the menu that opens when you right-click the file includes an option to choose a different program to open it. Most configuration files, logs, and code files are text files, and you can open them in any text editor.
Does changing the extension convert the file to another format?
No. Changing the extension changes only the file name, not its contents. A PNG file renamed to .jpg is still a PNG file, and some programs may not open it. To actually convert the file, open it in a suitable program and save or export it in the new format.
What is the difference between .jpg and .jpeg?
There is no difference between .jpg and .jpeg, and both extensions refer to the same image format. The shorter extension dates from a time when operating systems limited extensions to three characters. The same applies to .htm and .html and to .tif and .tiff.
Which font format is right for a website?
WOFF2 is the right font format for a website, because it is the most compressed font format and is supported by most modern browsers. You can convert a TTF or OTF font to WOFF2, provided the font license allows use on a website. Older formats, such as EOT, are no longer needed.