The Accent Letters

How to Type ħ (H with stroke) on HTML

Published June 8, 2026, 2 min read

The letter ħ does not have its own key on an English keyboard, but HTML still makes it easy to type. Use ħ, or pick one of the other methods in this guide. ħ appears in Maltese.

ħ on HTML: ħ

Ħ on HTML: Ħ

Or copy it:

Method 1: Codes for web pages

FormatCode for ħ
Decimal entityħ
Hex entityħ
CSS contentcontent: "\0127";
JavaScript"\u0127"
URL encoded%C4%A7
UTF-8 bytesC4 A7

Method 2: Type it directly with UTF-8

If your page starts with <meta charset="utf-8"> and the file is saved as UTF-8, you can paste ħ straight into the HTML. Entities are only needed when your editor or database cannot store the character.

Method 3: Watch for normalization

ħ can also be written as h plus a combining mark. Both look the same but compare as different strings. In JavaScript, call str.normalize("NFC") before comparing or searching.

How to type the capital Ħ

The uppercase form works the same way with Shift added where a letter is typed.

Codes for web pages

FormatCode for Ħ
Decimal entity&#294;
Hex entity&#x0126;
CSS contentcontent: "\0126";
JavaScript"\u0126"
URL encoded%C4%A6
UTF-8 bytesC4 A6

Type it directly with UTF-8

If your page starts with <meta charset="utf-8"> and the file is saved as UTF-8, you can paste Ħ straight into the HTML. Entities are only needed when your editor or database cannot store the character.

About the letter ħ

ħ is Unicode U+0127, named LATIN SMALL LETTER H WITH STROKE. It is used in Maltese. A line through the letter itself. Examples are ø (Danish, Norwegian), ł (Polish), đ (Vietnamese, Croatian) and ħ (Maltese). See the ħ character page for every code and shortcut.

Troubleshooting

Frequently asked questions

What is the shortcut for ħ on HTML?

&#295;.

Can I just copy and paste ħ?

Yes. Click the copy button above, then paste with Ctrl+V on Windows and Chromebook, Cmd+V on a Mac, or touch and hold and choose Paste on a phone.

What is the Unicode code for ħ?

U+0127. In HTML it is &#295;.

Related guides

All accent shortcuts for HTML