How to Type ł (L with stroke) on HTML
Need ł on HTML for a name, an address or a word in another language? You do not have to copy it from a website every time. The fastest method is ł, and there are a few backups below for when that one is not available.
ł on HTML: ł
Ł on HTML: Ł
Or copy it:
Method 1: Codes for web pages
| Format | Code for ł |
|---|---|
| Decimal entity | ł |
| Hex entity | ł |
| CSS content | content: "\0142"; |
| JavaScript | "\u0142" |
| URL encoded | %C5%82 |
| UTF-8 bytes | C5 82 |
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 l 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
| Format | Code for Ł |
|---|---|
| Decimal entity | Ł |
| Hex entity | Ł |
| CSS content | content: "\0141"; |
| JavaScript | "\u0141" |
| URL encoded | %C5%81 |
| UTF-8 bytes | C5 81 |
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+0142, named LATIN SMALL LETTER L WITH STROKE. It is used in Polish. 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
- If you see à and other symbols, the file is UTF-8 but the browser reads it as Windows-1252. Add the meta charset tag.
- Named entities are case sensitive: É and é are different letters.
- In XML and XHTML only five named entities exist, so use numeric codes there.
Frequently asked questions
What is the shortcut for ł on HTML?
ł.
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+0142. In HTML it is ł.
Related guides
- How to Type ł (L with stroke) on Windows
- How to Type ł (L with stroke) on Mac
- How to Type ł (L with stroke) on iPhone
- How to Type ł (L with stroke) on Android
- How to Type ł (L with stroke) on Microsoft Word
- How to Type ł (L with stroke) on Google Docs
- How to Type ļ (L with cedilla) on HTML
- How to Type ľ (L with caron) on HTML
- How to Type ņ (N with cedilla) on HTML
- How to Type ő (O with double acute) on HTML