gedit ( or )
is a
text editor
A text editor is a type of computer program that edits plain text. Such programs are sometimes known as "notepad" software (e.g. Windows Notepad). Text editors are provided with operating systems and software development packages, and can be u ...
designed for the
GNOME desktop environment
In computing, a desktop environment (DE) is an implementation of the desktop metaphor made of a bundle of programs running on top of a computer operating system that share a common graphical user interface (GUI), sometimes described as a graphi ...
. It was GNOME's default text editor and part of the
GNOME Core Applications
GNOME Core Applications is a software suite of approximately 30 application software that are packaged as part of the standard free and open-source GNOME desktop environment. GNOME Core Applications have the look and feel of the GNOME desktop, a ...
until GNOME version 42 in March 2022, which changed the default text editor to
GNOME Text Editor.
Designed as a general-purpose text editor, gedit emphasizes simplicity and ease of use, with a clean and simple
GUI
The GUI ( "UI" by itself is still usually pronounced . or ), graphical user interface, is a form of user interface that allows users to interact with electronic devices through graphical icons and audio indicator such as primary notation, inste ...
, according to the philosophy of the GNOME project.
It includes tools for editing
source code
In computing, source code, or simply code, is any collection of code, with or without comment (computer programming), comments, written using a human-readable programming language, usually as plain text. The source code of a Computer program, p ...
and structured text such as
markup language
Markup language refers to a text-encoding system consisting of a set of symbols inserted in a text document to control its structure, formatting, or the relationship between its parts. Markup is often used to control the display of the document ...
s.
It is
free and open-source software
Free and open-source software (FOSS) is a term used to refer to groups of software consisting of both free software and open-source software where anyone is freely licensed to use, copy, study, and change the software in any way, and the source ...
under the
GNU General Public License
The GNU General Public License (GNU GPL or simply GPL) is a series of widely used free software licenses that guarantee end user
In product development, an end user (sometimes end-user) is a person who ultimately uses or is intended to ulti ...
version 2 or later.
gedit is also available for
macOS
macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac (computer), Mac computers. Within the market of ...
and at one time had version for
Windows
Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for ...
, but as of May 2020 was no longer available.
By July 2017, gedit was not being maintained by any developers, but in August 2017 two developers volunteered to commence work on it again.
Features

gedit includes
syntax highlighting
Syntax highlighting is a feature of text editors that are used for programming, scripting, or markup languages, such as HTML. The feature displays text, especially source code, in different colours and fonts according to the category of terms. ...
via
GtkSourceView for various program code and text markup formats including
MediaWiki
MediaWiki is a Free and open-source software, free and open-source wiki software. It is used on Wikipedia and almost all other Wikimedia movement, Wikimedia Website, websites, including Wiktionary, Wikimedia Commons and Wikidata; these sit ...
. gedit also has GUI tabs for editing multiple files. Tabs can be moved between various windows by the user. It can edit remote files using
GVfs
GVfs (abbreviation for GNOME virtual file system) is GNOME's userspace virtual filesystem designed to work with the I/O abstraction of GIO, a library available in GLib since version 2.15.1. It installs several modules that are automatically u ...
libraries; (
GnomeVFS
GnomeVFS (short for GNOME Virtual File System) was an abstraction layer of the GNOME platform for the reading, writing and execution of files. Before GNOME 2.22 GnomeVFS was primarily used by the appropriate versions of Nautilus file manager (rena ...
is now
deprecated
In several fields, especially computing, deprecation is the discouragement of use of some terminology, feature, design, or practice, typically because it has been superseded or is no longer considered efficient or safe, without completely removing ...
). It supports a full undo and redo system as well as search and replace.
Other typical code oriented features include line numbering, bracket matching, text wrapping, current line highlighting, automatic indentation and automatic file backup.
["gedit: a powerful, underrated text editor for everybody", ''Free Software Magazine''](_blank)
15 February 2008
The features of gedit include multi language
spell checking In software, a spell checker (or spelling checker or spell check) is a software feature that checks for misspellings in a text. Spell-checking features are often embedded in software or services, such as a word processor, email client, electronic d ...
via
Enchant and a flexible
plugin system allowing the addition of new features, for example
snippets and integration with external applications including a
Python or
Bash terminal.
A number of plugins are included in gedit itself, with more plugins in the gedit-plugins package and online.
Since version 3.20 gedit uses gspell for spell checking.
gedit has an optional side pane displaying the list of open files and (in a different tab of the side pane) a file browser. It also has an optional bottom pane with a Python console and (using gedit-plugins) terminal. gedit automatically detects when an open file is modified on disk by another application and offers to reload that file. Using a plugin (in gedit-plugins package), gedit can save and load sessions, which are lists of currently open tabs.
gedit supports
printing
Printing is a process for mass reproducing text and images using a master form or template. The earliest non-paper products involving printing include cylinder seals and objects such as the Cyrus Cylinder and the Cylinders of Nabonidus. The ...
, including print preview and printing to
PostScript
PostScript (PS) is a page description language in the electronic publishing and desktop publishing realm. It is a dynamically typed, concatenative programming language. It was created at Adobe Systems by John Warnock, Charles Geschke, ...
and
PDF
Portable Document Format (PDF), standardized as ISO 32000, is a file format developed by Adobe in 1992 to present documents, including text formatting and images, in a manner independent of application software, hardware, and operating systems. ...
files. Printing options include text font, and page size, orientation, margins, optional printing of page headers and line numbers, as well as syntax highlighting.
In late 2013 and early 2014 the application received major upgrades for Gnome 3.12, with a new, cleaner user interface and code base improvements to make it work better with other desktop interfaces, such as
Unity
Unity may refer to:
Buildings
* Unity Building, Oregon, Illinois, US; a historic building
* Unity Building (Chicago), Illinois, US; a skyscraper
* Unity Buildings, Liverpool, UK; two buildings in England
* Unity Chapel, Wyoming, Wisconsin, US; a ...
.
Valencia
Valencia ( va, València) is the capital of the autonomous community of Valencia and the third-most populated municipality in Spain, with 791,413 inhabitants. It is also the capital of the province of the same name. The wider urban area al ...
is a gedit plugin that turns gedit into a lightweight
IDE for
Vala
Vala or VALA may refer to:
Religion and mythology
* Vala (Vedic), a demon or a stone cavern in the Hindu scriptures
* Völva, also spelled Vala, a priestess in Norse mythology and Norse paganism
Fiction
* Vala (Middle-earth), an angelic being in ...
.
Architecture

Being part of the
GNOME Core Applications
GNOME Core Applications is a software suite of approximately 30 application software that are packaged as part of the standard free and open-source GNOME desktop environment. GNOME Core Applications have the look and feel of the GNOME desktop, a ...
, gedit 3 uses the
GTK
GTK (formerly GIMP ToolKit and GTK+) is a free and open-source cross-platform widget toolkit for creating graphical user interfaces (GUIs). It is licensed under the terms of the GNU Lesser General Public License, allowing both free and prop ...
3.x and GNOME 3.x
libraries
A library is a collection of materials, books or media that are accessible for use and not just for display purposes. A library provides physical (hard copies) or digital access (soft copies) materials, and may be a physical location or a vir ...
. The GNOME integration includes
drag and drop
In computer graphical user interfaces, drag and drop is a pointing device gesture in which the user selects a virtual object by "grabbing" it and dragging it to a different location or onto another virtual object. In general, it can be used ...
to and from
GNOME Files
GNOME Files, formerly and internally known as Nautilus, is the official file manager for the GNOME desktop. Nautilus was originally developed by Eazel with many luminaries from the tech world including Andy Hertzfeld (Apple), chief architect ...
.
gedit uses the GNOME help system for documentation. It also uses
virtual file system
A virtual file system (VFS) or virtual filesystem switch is an abstract layer on top of a more concrete file system. The purpose of a VFS is to allow client applications to access different types of concrete file systems in a uniform way. A VFS ...
and GNOME printing framework.
In December 2008, gedit binaries were made available for
macOS
macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac (computer), Mac computers. Within the market of ...
and
Windows
Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for ...
.
The last version for Windows 32-bit was 2.30.1, released in 2014. Standalone releases for 64-bit Windows continued, with Version 3.20.1 released in 2016.
Current versions of gedit (3.0+) for Windows are also available through
MSYS2
Mingw-w64 is a free and open source software development environment to create (cross-compile) Microsoft Windows PE applications. It was forked in 2005–2010 from MinGW (''Minimalist GNU for Windows'').
Mingw-w64 includes a port of the GNU C ...
and can be installed via the built-in
Pacman package manager
Arch Linux () is an independently developed, x86-64 general-purpose Linux distribution that strives to provide the latest stable versions of most software by following a rolling-release model. The default installation is a minimal base system, ...
.
See also
*
FeatherPad
FeatherPad is a free software text editor available under the GPL-3.0-or-later license. It is developed by Pedram Pourang (aka Tsu Jan) of Iran, written in Qt, and runs on FreeBSD, Linux, Haiku OS and macOS. It has few dependencies and is indep ...
*
jEdit
*
List of text editors
The following is a list of notable text editors.
Graphical and text user interface
The following editors can either be used with a graphical user interface or a text user interface.
Graphical user interface
Text user interface
Sys ...
*
Comparison of text editors
This article provides basic comparisons for notable text editors. More feature details for text editors are available from the '' Category of text editor features'' and from the individual products' articles. This article may not be up-to-date or n ...
References
External links
*
*
Download 32-bit for WindowsDownload 64-bit for Windows{{GNOME
Free software programmed in C
Free software programmed in Python
Free text editors
GNOME Core Applications
Linux text editors
MacOS text editors
Notepad replacements
Software using the GPL license
Text editors that use GTK
Unix text editors
Windows text editors