https://github.com/jakewarren/punycoder
Converts punycode domains to unicode and vice-versa.
https://github.com/jakewarren/punycoder
golang punycode unicode
Last synced: about 1 month ago
JSON representation
Converts punycode domains to unicode and vice-versa.
- Host: GitHub
- URL: https://github.com/jakewarren/punycoder
- Owner: jakewarren
- License: mit
- Created: 2017-07-25T17:27:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-26T17:13:46.000Z (over 8 years ago)
- Last Synced: 2025-11-22T16:03:22.121Z (3 months ago)
- Topics: golang, punycode, unicode
- Language: Go
- Size: 19.5 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Punycoder
[](https://github.com/jakewarren/punycoder/releases])
[](https://github.com/jakewarren/punycoder/blob/master/LICENSE)
[](https://goreportcard.com/report/github.com/jakewarren/punycoder)
Converts punycode domains to unicode and vice-versa.

## Installation
### Option 1: Binary
Download the latest release from [https://github.com/jakewarren/punycoder/releases](https://github.com/jakewarren/punycoder/releases)
### Option 2: From source
```
go get github.com/jakewarren/punycoder
```
## Usage
Simply provide either a punycode (IDN) or Unicode domain and it will be converted automagically.
```
$ punycoder bücher.example.com
xn--bcher-kva.example.com
$ punycoder xn--bcher-kva.example.com
bücher.example.com
```