fsymbols
Loading symbols…
››
`

grave accent

Grave accent

64/94

is the grave accent standing on its own, better known as the backtick or backquote. In ordinary writing it is rarely the right mark; in chat and code it does real work: text wrapped in backticks shows up as code in Discord, Slack, GitHub and Markdown. It is not an apostrophe. If your keyboard makes è instead of , press the key and then Space.

Text symbol

What ` means

It wraps code in chat and documents; in prose it is rarely right. The character is the grave accent on its own, the slanted stroke you see on è and à, but typed alone and shown at full size it is mostly a computer symbol, and most people call it the backtick or backquote.

Its best-known job today is marking code. In Markdown, the plain-text formatting understood by Discord, Slack, GitHub and many note apps, a word between single backticks appears in a typewriter-style font, and three backticks on their own lines open and close a code block. WhatsApp does something similar: three backticks on each side of a text make it monospace. Programmers also meet it inside languages: in JavaScript a string in backticks can span lines and embed values, as in Hello ${name}, and in Unix shells command runs the command and pastes in its output, an older spelling of (command).

Its one historical role in prose explains why it looks like a quote. In some early terminals and US computer fonts the backtick was drawn as an opening single quote, so people wrote `like this', closing with an apostrophe. The typesetting system TeX still accepts that convention. In modern fonts the two marks no longer match, so in normal writing use ‘ and ’, or a plain ' on both sides.

Why does the key give me è instead of `?

Because on many keyboards it is a dead key: press it, then Space. A dead key types nothing on its own and waits for a letter to put the accent on, which is how French, Spanish, Portuguese or Nordic keyboards produce è and à. Pressing the key and then Space releases the bare backtick.

On the US layout the backtick has a key of its own, left of 1, shared with the tilde ; on the UK PC layout that key pairs it with instead, and sits near Enter. Layouts with an Arabic, Cyrillic, Thai or East Asian alphabet on that key often need a switch to English first. If nothing works, Windows takes Alt96 on the numeric keypad, and phone keyboards usually keep it on a second symbols page.

Purely functional. In code it is an instruction; in prose it usually reads as a typo.

Swapping it for an apostrophe silently breaks Markdown and code; they look alike but are different characters.

Part of collections

What it means when someone sends it to you

4 readings

Formatted as code: usually a command, a filename or a bit of code meant to be read exactly as typed.

Don't confuse it with

5

Combination ideas

6
Markdown example: display code as code within a line.
Markdown fence that starts or ends a code block.
JavaScript example: insert the value of value into text.
Bash example: run command and substitute its output.
Three backticks: a whole block of code, or monospace text on WhatsApp.
JavaScript: a text string with the value of name inserted.

Worth knowing

  • In a number of well-known PC games the key left of 1 (on a US keyboard) opens the developer console, which is why gamers call it the tilde key even when they want the backtick.
  • The name comes from Latin gravis, heavy. Ancient Greek grammarians traditionally contrasted the grave, a lower pitch, with the raised acute.

Questions people ask

3

Is the backtick the same as an apostrophe?

No. They are different characters: the apostrophe ' is straight, the backtick ` leans. In code and Markdown only the backtick works as a code marker, and an apostrophe in its place breaks it.

Why is it called a grave accent?

Because it is the same shape as the accent on è and à. Grave is French for heavy; in French it marks an open e sound (père) or tells apart words like a and à.

Can I write è by typing ` and then e?

Not as plain text. ` followed by e gives two characters. Use a dead key, the accented letter itself from your keyboard, or a long-press on e on most phone keyboards.

Collections with `

7

How to type or find `

Also called
backtick · backquote · back tick
Search it as
backtick symbol · code quote · accent grave · reverse apostrophe · ` symbol
Shows up in
Anything that takes text · its shape is whatever your font draws
Windows (Word)
⎇Alt+XType 0060, then AltX to get `.
Windows
⊞Win+Rrun charmap for the full table, or use the emoji picker's Ω symbols tab (Win .).
macOS
⌃Control+⌘Command+␣SpaceOpen the character viewer and search “grave accent”.
Linux
⎈Ctrl+⇧Shift+UType 0060, then Enter or Space.
HTML
`
CSS
\0060
US or UK keyboard
Press the key left of 1 without Shift. With Shift that key gives on US layouts, on UK ones.
French, German, Spanish, Portuguese, Nordic layouts
The grave key is a dead key: press it, then press Space to get the bare mark.
Windows, any layout
Hold Alt and type 96 on the numeric keypad.
Mac
US layout: key left of 1. Other layouts: dead key then Space, or Edit › Emoji & Symbols and search for grave.
iPhone and iPad
Tap 123, then #; the backtick is usually on that second symbols page.
Android (Gboard)
Tap ?123, then \<; the backtick is usually on the second symbols page.
Codes and encoding1 code points
HTML decimal
&#96;
HTML hex
&#x60;
CSS content
content: "\0060";
Each escape is closed by the next backslash; a trailing space is needed before a literal hex digit.
URL encoded
%60
1
On screen
1
Code points
1
JS .length
1
UTF-8 bytes

A visible symbol can contain several code points. JS .length counts UTF-16 units; UTF-8 counts bytes.

Families this belongs to

1

Accents & marks659 symbols