DenCode is a web application for encoding and decoding values.
e.g. HTML Escape / URL Encoding / Base64 / MD5 / SHA-1 / CRC32 / and many other String, Number, DateTime, Color, Cipher, Hash formats
You can use DenCode online without downloading it.
With Docker, you can run DenCode wherever you want.
docker run -p 8080:8080 ghcr.io/mozq/dencode:latestAfter startup, DenCode can be accessed at http://localhost:8080/ .
If you want to build DenCode from the source code yourself, use Gradle within the project. Install Java SE Development Kit (JDK) and run the following command on the project root directory. Build artifacts are stored in build/app/ directory.
./gradlew buildIf you want to run DenCode as well, run the following command.
./gradlew runAppInstall Google Cloud SDK and run the following commands.
First two commands, gcloud auth and gcloud config, only need to be run for the first time.
gcloud auth login
gcloud config set project {PROJECT_ID}
./gradlew build
cp src/main/appengine/app.yaml build/app/
gcloud app deploy build/app/app.yaml --no-promote --no-stop-previous-version(Please replace {PROJECT_ID} with your own project ID.)
- String
- Bin String
- Hex String
- HTML Escape
- URL Encoding
- Punycode IDN
- Base32
- Base45
- Base64
- Ascii85
- Quoted-printable
- Unicode Escape
- String Literal
- Morse Code
- Braille
- Hieroglyphs
- Naming Convention
- Letter Case (Upper, Lower, Swap, Capital)
- Character Width (Half, Full)
- Japanese Kana / Romaji
- Unicode Normalization
- Unicode Styled Text
- Text Reverse
- Line Sort
- Line Unique
- Number
- Date
- Color
- Cipher
- Hash
DenCode supports the following languages:
- English (en)
- German (de)
- Spanish (es)
- French (fr)
- Hindi (hi)
- Indonesian (id)
- Italian (it)
- Japanese (ja)
- Korean (ko)
- Dutch (nl)
- Polish (pl)
- Portuguese (pt)
- Russian (ru)
- Vietnamese (vi)
- Chinese Simplified (zh-CN)
- Chinese Traditional - Hong Kong (zh-HK)
- Chinese Traditional - Taiwan (zh-TW)
If you want to add other languages, please add or modify the following source code.
- Add a translated messages file. Supported languages are detected from the file name.
- /src/main/resources/messages_{language}.properties [Required]
- Add translated page fragments
- /src/main/webapp/WEB-INF/pages/policy_{language}.inc.jsp [Optional]
- /src/main/webapp/WEB-INF/pages/{type}/method-desc_{method}_{language}.inc.jsp [Optional]
For the {language} part, use _ for regional variants in *.properties file names and - in *.jsp file names. (e.g. messages_zh_CN.properties, policy_zh-CN.inc.jsp)
If you want to add a new encoder or decoder, please add or modify the following source code.
- Add a new dencoder class
- /src/main/java/com/dencode/logic/dencoder/*Dencoder.java [Required]
- Append the encoding and decoding rows for the dencoder
- /src/main/webapp/WEB-INF/pages/index.jsp [Required]
- Append label texts for index.jsp
- /src/main/resources/messages_{language}.properties [Required]
- Add description files
- /src/main/webapp/WEB-INF/pages/{type}/method-desc_{method}_{language}.inc.jsp [Optional]
DenCode includes third-party ICC color profiles for some CMYK color conversions. These profile files are licensed separately from DenCode's Apache License 2.0 source code, and are redistributed without modification with their notices or license terms.
Coated_Fogra39L_VIGC_300.icc/Coated Fogra39L VIGC 300is provided by VIGC with permission of X-Rite, Inc. SeeTHIRD-PARTY-NOTICES/Coated_Fogra39L_VIGC_300.txt.GRACoL2013_CRPC6.iccis provided by Idealliance with permission of X-Rite, Inc. SeeTHIRD-PARTY-NOTICES/GRACoL2013_CRPC6.txt.SWOP2013C3_CRPC5.iccis provided by Idealliance with permission of X-Rite, Inc. SeeTHIRD-PARTY-NOTICES/SWOP2013C3_CRPC5.txt.
- Windows: DenCode plugin for PowerToys Run by Henrik Lau Eriksson