Transliteration for JavaScript & Node.js, basically used for SEO URI generation. As small and simple as possible.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 2190b2c May 19, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib Update toURI.js May 18, 2018
.gitignore Initial commit Aug 25, 2014
LICENSE Initial commit Aug 25, 2014 Update May 6, 2018
bower.json v1.0.4 "кс" - "x" Sep 1, 2014
gulpfile.js v1.0.1 RU/UA detect for "и"; build version Aug 25, 2014
package.json v1.0.4 "кс" - "x" Sep 1, 2014

String: toURI() & transliterate() for JavaScript

Monthly Downloads NPM Twitter

Transliteration for JavaScript & Node.js, basically used for URI generation. As small'n'simple as possible, but has a basic Ukrainian/Russian language detection for "и" char replacements.


Basically, just call toURI() with a String and you'll get a SEO friendly URL, separated with dashes ("-") by default. Also, there's a transliterate() method, but it always works with toLowerCase() right now, not sure should it be improved yet or not.


  • bower install to-uri
  • npm install to-uri


toURI("Тест: Чи маємо те, на що чекаємо? + /English Text Remains/?")
// test-chy-maiemo-te-na-shcho-chekaiemo+english-text-remains

toURI("Тест: Проверим текст на русском языке")
// test-proverim-text-na-russkom-yazyke


Prepared by Annexare Studio. Feel free to use it as you need in your apps or send updates into this public repository. It's under MIT license.