Turkish Character Problems: How to Convert Text to ASCII
Updated: October 13, 2026 · AracMerkezi
▶ Open Turkish Character Remover (ASCII Converter)
When you create a username, your system gives an “invalid character” warning; an email address will not accept the letter “ğ”; a file you downloaded has a name turned into something meaningless like “ödev.docx”. Everyone runs into problems like these with Turkish characters. In this guide we explain the ASCII equivalents of the letters ç, ğ, ı, İ, ö, ş and ü, why ASCII conversion is needed, how to do it by hand in Excel and Word, the uppercase/lowercase trap, and why garbled characters appear on screen.
What is ASCII, and why do Turkish letters cause problems?
ASCII is a 128-character code table defined in the early days of computing. It contains the 26 lowercase and 26 uppercase letters of the English alphabet, digits, punctuation marks and some control characters. Letters specific to Turkish, such as ç, ğ, ı, İ, ö, ş, ü, are not in this table. That is why a system limited to ASCII either rejects these letters, displays them wrongly, or replaces them with another character. The problem has shrunk today because most software uses Unicode (UTF-8), but ASCII compatibility is still required in many places.
ASCII equivalents of Turkish letters
The conversion rule is simple: each Turkish letter is turned into the Latin letter it resembles.
| Turkish letter | ASCII equivalent |
|---|---|
| ç / Ç | c / C |
| ğ / Ğ | g / G |
| ı (dotless lowercase) | i |
| İ (dotted uppercase) | I |
| ö / Ö | o / O |
| ş / Ş | s / S |
| ü / Ü | u / U |
Note that the dotless lowercase “ı” becomes a lowercase “i”, and the dotted uppercase “İ” becomes an uppercase “I”. So the phrase “Işık İstasyonu” (“Light Station”) becomes “Isik Istasyonu”. After conversion some words look alike: “kış” (winter), “kıs” and “kis” become the same; for this reason ASCII conversion loses information, and converting back is not always perfect.
When is ASCII conversion needed?
- Usernames and email addresses: Many services do not accept non-ASCII characters. For “Şükrü Çağlar”, the username becomes “sukru.caglar”.
- File names: When moving files between different operating systems, FTP servers, email attachments and cloud services, names with Turkish characters can get corrupted.
- URLs and links: In the address bar, Turkish letters turn into percent-encoded sequences (for example, the letter ş appears as %C5%9F). ASCII is used for a readable, shareable address. You can use the URL Slug Generator tool for this purpose.
- Legacy systems and accounting software: Software whose record fields expect only ASCII, banking file formats and old databases.
- Barcode and label printers: Some printers and barcode standards can print only ASCII characters.
- Programming: For variable names, keywords, class names and identifiers.
Converting by hand: Word
In Word, open the Find and Replace window (Ctrl + H). Type “ç” in the “Find what” box, type “c” in the “Replace with” box and click “Replace All”. Repeat the same for ğ, ı, ö, ş, ü. For uppercase letters, check the “Match case” option; otherwise Word may also turn uppercase letters into lowercase or mix up the matching. Since there are fourteen letters in total, you need to make two rounds for the seven letters.
Converting by hand: Excel
In Excel, the conversion is done with the nested SUBSTITUTE function (SUBSTITUTE in the English version; YERİNEKOY in the Turkish version). A shortened example for the text in cell A1:
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,"ç","c"),"ğ","g"),"ı","i")
(In Turkish-language Excel, use YERİNEKOY and a semicolon as the separator.) In this way you need to nest the function for all fourteen letters. The SUBSTITUTE function is case-sensitive; that is, “ç” and “Ç” must be written separately. With a long formula it is easy to make mistakes; if you have many rows, a ready-made tool will be much safer. For this you can use the Turkish Character Remover (ASCII Converter) tool.
The İ and ı uppercase/lowercase trap
The Turkish alphabet has two separate “i” letters: the dotted i and the dotless ı. Their uppercase forms are also different: i → İ, ı → I. In English rules, however, the uppercase of lowercase “i” is “I”, and uppercase “I” turns into “i”. This difference causes problems in many programs:
- If you convert the text “istanbul” to uppercase on a system set to English, you get “ISTANBUL”; the correct form is “İSTANBUL”.
- If you convert the text “ISPARTA” to lowercase on a system set to Turkish, you get “ısparta”; on an English system it becomes “isparta”.
- In some languages such as Python, the lowercase form of “İ” may produce not a single character but two characters: “i” plus a combining dot.
For this reason, order matters when doing an ASCII conversion. First turn “ı” into “i” and “İ” into “I”; then apply an uppercase/lowercase conversion if needed. If you want to do the case conversion with Turkish rules, the Uppercase / Lowercase Converter tool works according to Turkish rules. To convert text into programmer formats such as camelCase or snake_case, the Text Case Converter (camelCase, snake_case) is also useful.
The Unicode method for programmers
A common method in programming languages is to normalize the text and strip the combining marks (the Unicode NFD form). This method splits the letters ç, ğ, ö, ş, ü and İ into base letters; however, since the dotless “ı” has no decomposition, it must be turned into “i” separately by hand. So the “normalize and strip the marks” approach on its own can leave the letter “ı” broken. The safe way is to define explicitly a replacement table for the seven pairs of letters.
Why do garbled characters appear? (ö, ç, ş ...)
A text file is saved with one encoding and opened with another, and the letters get corrupted. The most common case is a text saved in UTF-8 being read with a Western European encoding (Windows-1252). In UTF-8, Turkish letters take up two bytes, and Windows-1252 takes each byte to be a separate character:
- ö → ö
- ç → ç
- ü → ü
- ş → ÅŸ
- ğ → ÄŸ
- ı → ı
- İ → İ
The reverse also happens: if a file saved with older encodings designed for Turkish (ISO-8859-9, Windows-1254) is opened as UTF-8, you see question marks, or a question mark inside a black diamond, in place of the letters. The solution is to reopen the file with the correct encoding. Editors such as Notepad and VS Code offer an “open with encoding” option. If you open a CSV file in Excel and the letters are corrupted, using the “Data > From Text/CSV” path and choosing UTF-8 as the source usually fixes the problem. When writing a web page, it is also important to specify UTF-8 encoding in the HTML header.
Practical recommendations
- Do not change the text that will be shown to the user; use the ASCII form only in technical fields such as file names, identifiers and addresses.
- If you want to replace spaces with hyphens or underscores after conversion, do that as a separate step.
- Remember that two different names can turn into the same ASCII form (such as “Güneş” and “Gunes”); if you will use it as an identifier, add a uniqueness check.
- Save your files in UTF-8 whenever possible; most modern systems support it.
- Instead of changing many rows by hand, use a tool that works in bulk; also run a spell check. For problems such as extra spaces, the article How to Remove Extra Spaces and Line Breaks is useful.
Example conversions
- “Çağrı Öztürk” → “Cagri Ozturk”
- “ığdır ışık” → “igdir isik”
- “İSTANBUL ŞİŞLİ” → “ISTANBUL SISLI”
- “Güneşli Gün.pdf” → “Gunesli Gun.pdf”
- “Yağmur & Çiçek” → “Yagmur & Cicek”
In every example the conversion was done with a one-to-one letter equivalent; the meaning of the word is read from context.
Related tools
For direct conversion, use the Turkish Character Remover (ASCII Converter); to generate link addresses, the URL Slug Generator; for capitalization, the Uppercase / Lowercase Converter; and for code formats, the Text Case Converter (camelCase, snake_case).
Frequently asked questions
What are the ASCII equivalents of Turkish characters?
They are ç → c, ğ → g, ı → i, İ → I, ö → o, ş → s, ü → u; uppercase letters stay uppercase in the same way. For example, the text Çağrı Öztürk becomes Cagri Ozturk.
Why do garbled characters like ö and ş appear on screen?
When text saved in UTF-8 is opened with another encoding such as Windows-1252, each two-byte letter turns into two separate characters; the letter ö shows up as ö and ş as ÅŸ. Opening the file with the correct encoding (UTF-8) fixes the problem.
Why do İ and ı cause errors in uppercase/lowercase conversion?
In Turkish, the uppercase of i is İ and the uppercase of ı is I; English rules turn i into I. If the language setting is not Turkish, the text istanbul becomes ISTANBUL. That is why it is safe to first convert ı and İ to their ASCII equivalents.
Tools mentioned in this guide
More guides
- What Is a URL Slug? How to Create SEO-Friendly Links (Turkish Character Rules) – What is a URL slug and how do you make an SEO-friendly address from a title? Turkish character conversion, step-by-step examples, length and 301 redirects.
- What Are Meta Tags and Open Graph? Title, Description, Canonical, and Share Image – What are the title, meta description, canonical, robots meta, Open Graph, and Twitter Card tags? Recommended lengths, example code, and common mistakes.
- How to Remove Extra Spaces and Line Breaks: A Text Cleanup Guide – How to remove double spaces, blank lines and line breaks: Word, Excel and Notepad++ methods, fixes for text copied from PDFs, and one-step tool cleanup.
- How to Do Keyword Research? SEO Basics – How to do keyword research? Finding search intent with free tools for a small site, competitor analysis and page mapping, with an example table.
- How to Calculate Percentages: Six Question Types, Formulas and Examples – Percentage math: percent of a number, what percent one is of another, increase and decrease, percentage points and reverse percentages, with examples.
This article is for general information only and is not legal, financial or medical advice. We are not an official institution.