Skip to main content

Unicode to ASCII transliteration

Project description

Any Ascii

jitpack pypi npm

Unicode to ASCII transliteration

Table of Contents


Script Input Output Actual
résumé resume
© ㎧ Æ № (C) m/s AE No
Mandarin Chinese 深圳 ShenZhen Shenzhen
Cantonese Chinese 深水埗 ShenShuiBu Sham Shui Po
Russian Cyrillic Борис Николаевич Ельцин Boris Nikolaevich El'tsin Boris Nikolayevich Yeltsin
Korean Hangul 반기문 bangimun Ban Ki-Moon
Japanese Hiragana さいたま saitama Saitama
Japanese Kanji 埼玉県 QiYuXian Saitama-ken
Ancient Greek Φειδιππίδης Feidippidis Pheidippides
Modern Greek Δημήτρης Φωτόπουλος Dimitris Fotopoylos Dimitris Fotopoulos



String s = AnyAscii.transliterate("άνθρωποι");
// anthropoi

Java 6+ compatible

Available through JitPack

repositories {
    maven { url '' }
dependencies {
    implementation 'com.hunterwb:any-ascii:0.1.0'


from anyascii import anyascii

s = anyascii('άνθρωποι')
#  anthropoi

Python 3.3+ compatible

Install latest release: pip install anyascii

Install from master: pip install


const anyAscii = require('any-ascii');

const s = anyAscii('άνθρωποι');
// anthropoi

Node.js 4+ compatible

Install latest release: npm install any-ascii

Install from master: npm install hunterwb/any-ascii


  • Unicode: The universal character set, a global standard to support all the world's languages. Consists of 100,000+ characters used by 150 writing systems. Typically encoded into bytes using UTF-8.
  • ASCII: The most compatible character set. A subset of Unicode/UTF-8 consisting of 128 characters using 7-bits in the range 0x00 - 0x7F. The printable characters are English letters, digits, and punctuation in the range 0x20 - 0x7E, with the remaining being control characters.
  • Transliteration: A mapping from one writing system into another, typically done one character at a time using predictable rules. Transliteration generally preserves the spelling of words, while translation preserves the meaning, and transcription preserves the sound. Transliteration into the Latin script used by English is known as romanization.

See Also

ALA-LC Romanization
BGN/PCGN Romanization
Compart: Unicode Charts
ICAO 9303: Machine Readable Passports
ISO 9: Cyrillic Romanization
Sean M. Burke: Unidecode
Sean M. Burke: Unidecode, Perl Journal
UNGEGN Romanization
Unicode CLDR: Transliteration Guidelines
Unicode Unihan Database
Wikipedia: Romanization of Greek

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for anyascii, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size anyascii-0.1.1-py3-none-any.whl (236.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size anyascii-0.1.1.tar.gz (156.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page