{"id":25541005,"url":"https://github.com/chinabugotech/hutool","last_synced_at":"2026-03-12T07:03:13.147Z","repository":{"id":15980842,"uuid":"18723836","full_name":"chinabugotech/hutool","owner":"chinabugotech","description":"🍬A set of tools that keep Java sweet.","archived":false,"fork":false,"pushed_at":"2026-01-12T08:28:46.000Z","size":72007,"stargazers_count":30319,"open_issues_count":2,"forks_count":7680,"subscribers_count":596,"default_branch":"v5-master","last_synced_at":"2026-01-13T04:12:34.842Z","etag":null,"topics":["http","hutool","java","json","orm","tool","util"],"latest_commit_sha":null,"homepage":"https://hutool.cn","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chinabugotech.png","metadata":{"files":{"readme":"README-EN.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["looly"],"custom":["https://gitee.com/chinabugotech/hutool"]}},"created_at":"2014-04-13T07:23:51.000Z","updated_at":"2026-01-13T03:21:01.000Z","dependencies_parsed_at":"2024-03-10T10:26:28.456Z","dependency_job_id":"f033d28b-f5ce-42c5-8dd7-6d70e145d063","html_url":"https://github.com/chinabugotech/hutool","commit_stats":{"total_commits":4512,"total_committers":405,"mean_commits":11.14074074074074,"dds":0.244459219858156,"last_synced_commit":"ced8bf817ab4448e9b1162af6ce697cef8640827"},"previous_names":["looly/hutool","chinabugotech/hutool"],"tags_count":156,"template":false,"template_full_name":null,"purl":"pkg:github/chinabugotech/hutool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinabugotech%2Fhutool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinabugotech%2Fhutool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinabugotech%2Fhutool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinabugotech%2Fhutool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chinabugotech","download_url":"https://codeload.github.com/chinabugotech/hutool/tar.gz/refs/heads/v5-master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinabugotech%2Fhutool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28472626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T22:13:38.078Z","status":"ssl_error","status_checked_at":"2026-01-15T22:12:11.737Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["http","hutool","java","json","orm","tool","util"],"created_at":"2025-02-20T06:22:37.476Z","updated_at":"2026-03-12T07:03:13.140Z","avatar_url":"https://github.com/chinabugotech.png","language":"Java","funding_links":["https://github.com/sponsors/looly","https://gitee.com/chinabugotech/hutool"],"categories":["Java","HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://hutool.cn/\"\u003e\u003cimg src=\"https://cdn.jsdelivr.net/gh/looly/hutool-site/images/logo.jpg\" width=\"45%\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003cstrong\u003e🍬A set of tools that keep Java sweet.\u003c/strong\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    👉 \u003ca href=\"https://hutool.cn\"\u003ehttps://hutool.cn/\u003c/a\u003e 👈\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca target=\"_blank\" href=\"https://search.maven.org/artifact/cn.hutool/hutool-all\"\u003e\n        \u003cimg src=\"https://img.shields.io/maven-central/v/cn.hutool/hutool-all.svg?label=Maven%20Central\" /\u003e\n    \u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://license.coscl.org.cn/MulanPSL2\"\u003e\n        \u003cimg src=\"https://img.shields.io/:license-MulanPSL2-blue.svg\" /\u003e\n    \u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/JDK-8+-green.svg\" /\u003e\n    \u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://app.travis-ci.com/chinabugotech/hutool\"\u003e\n        \u003cimg src=\"https://api.travis-ci.com/chinabugotech/hutool.svg?branch=v5-master\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.codacy.com/gh/chinabugotech/hutool/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=chinabugotech/hutool\u0026amp;utm_campaign=Badge_Grade\"\u003e\n        \u003cimg src=\"https://app.codacy.com/project/badge/Grade/8a6897d9de7440dd9de8804c28d2871d\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/chinabugotech/hutool\"\u003e\n        \u003cimg src=\"https://codecov.io/gh/chinabugotech/hutool/branch/v5-master/graph/badge.svg\" /\u003e\n    \u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://gitter.im/hutool/Lobby?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge\"\u003e\n        \u003cimg src=\"https://badges.gitter.im/hutool/Lobby.svg\" /\u003e\n    \u003c/a\u003e\n    \u003ca target=\"_blank\" href='https://gitee.com/chinabugotech/hutool/stargazers'\u003e\n        \u003cimg src='https://gitee.com/chinabugotech/hutool/badge/star.svg?theme=gvp' alt='star'/\u003e\n    \u003c/a\u003e\n    \u003ca target=\"_blank\" href='https://github.com/chinabugotech/hutool'\u003e\n        \u003cimg src=\"https://img.shields.io/github/stars/chinabugotech/hutool.svg?style=social\" alt=\"github star\"/\u003e\n    \u003c/a\u003e\n    \u003ca target=\"_blank\" href='https://gitcode.com/chinabugotech/hutool'\u003e\n        \u003cimg src=\"https://gitcode.com/chinabugotech/hutool/star/badge.svg\" alt=\"gitcode star\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://deepwiki.com/chinabugotech/hutool\"\u003e\n        \u003cimg src=\"https://deepwiki.com/badge.svg\" alt=\"Ask DeepWiki\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr/\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://qm.qq.com/q/YsLhyheHSA\"\u003e\n    \u003cimg alt=\"\" src=\"https://img.shields.io/badge/QQ%E7%BE%A4%E2%91%A7-667030118-orange\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n-------------------------------------------------------------------------------\n\n[**🌎中文说明**](README.md)\n\n-------------------------------------------------------------------------------\n\n## 📚Introduction\n**Hutool** is a small but comprehensive library of Java tools, achieved by encapsulation through static methods, reduce the cost of learning related APIs, increase productivity, and make Java as elegant as a functional programming language,let the Java be \"sweet\" too.\n\n**Hutool** tools and methods from each user's crafted, it covers all aspects of the underlying code of Java development, it is a powerful tool for large project development to solve small problems, but also the efficiency of small projects;\n\n**Hutool** is a project \"util\" package friendly alternative, it saves developers on the project of common classes and common tool methods of encapsulation time, so that development focus on business, at the same time can minimize the encapsulation is not perfect to avoid the bugs.\n\n### 🎁Origin of the 'Hutool' name\n\n**Hutool = Hu + tool**，Is the original company project after the stripping of the underlying code of the open source library , \"Hu\" is the short name of the company , 'tool' that tool .\n\nHutool,' Hútú '(Chinese Pinyin)，On the one hand, it is simple and easy to understand, on the other hand, it means \"hard to be confused\".(note: confused means 'Hútú (糊涂)' in china )\n\n### 🍺How Hutool is changing the way we code\n\nThe goal of  **Hutool**  is to use a simple function instead of a complex piece of code, thus avoiding the problem of \"copy and paste\" code as much as possible and revolutionizing the way we write code.\n\nTo calculate MD5 for example:\n\n- 👴【Before】Open a search engine -\u003e search \"Java MD5 encryption\" -\u003e open a blog -\u003e copy and paste -\u003e change it to work.\n- 👦【Now   】import Hutool -\u003e SecureUtil.md5()\n\nHutool exists to reduce code search costs and avoid bugs caused by imperfect code on the web.\n\n### Thanks\n\u003e this README is PR by [chengxian-yi](https://gitee.com/yichengxian)\n-------------------------------------------------------------------------------\n\n## 🛠️Module\nA Java-based tool class for files, streams, encryption and decryption, transcoding, regular, thread, XML and other JDK methods for encapsulation，composing various Util tool classes, as well as providing the following modules：\n\n| module             |     description                                                                                                            |\n|--------------------|-------------------------------------------------------------------------------------------------------------------------|\n| hutool-aop         |     JDK dynamic proxy encapsulation to provide non-IOC faceting support                                                 |\n| hutool-bloomFilter |     Bloom filtering to provide some Hash algorithm Bloom filtering                                                      |\n| hutool-cache       |     Simple cache                                                                                                        |\n| hutool-core        |     Core, including Bean operations, dates, various Utils, etc.                                                         |\n| hutool-cron        |     Task scheduling with Cron expressions                                                                               |\n| hutool-crypto      |     Provides symmetric, asymmetric and digest algorithm encapsulation                                                   |\n| hutool-db          |     Db operations based on ActiveRecord thinking.                                                                       |\n| hutool-dfa         |     DFA models, such as multi-keyword lookups                                                                           |\n| hutool-extra       |     Extension modules, third-party wrappers (template engine, mail, servlet, QR code, Emoji, FTP, word splitting, etc.) |\n| hutool-http        |     Http client                                                                                                         |\n| hutool-log         |     Log (facade)                                                                                                        |\n| hutool-script      |     Script execution encapsulation, e.g. Javascript                                                                     |\n| hutool-setting     |     Stronger Setting Profile tools and Properties tools                                                                 |\n| hutool-system      |     System parameter tools (JVM information, etc.)                                                                      |\n| hutool-json        |     JSON                                                                                                                |\n| hutool-captcha     |     Image Captcha                                                                                                       |\n| hutool-poi         |     Tools for working with Excel and Word in POI                                                                        |\n| hutool-socket      |     Java-based tool classes for NIO and AIO sockets                                                                     |\n| hutool-jwt         |     JSON Web Token (JWT) implement                                                                                      |\n| hutool-ai          |     AI implement                                                                                      |\n\nEach module can be introduced individually, or all modules can be introduced by introducing `hutool-all` as required.\n\n-------------------------------------------------------------------------------\n\n## 📝Doc\n\n[📘Chinese documentation](https://doc.hutool.cn/pages/index/)\n\n[📘Chinese back-up documentation](https://plus.hutool.cn/)\n\n[📙API](https://plus.hutool.cn/apidocs/)\n\n[🎬Video](https://www.bilibili.com/video/BV1bQ4y1M7d9?p=2)\n\n-------------------------------------------------------------------------------\n\n\n\n## 📦Install\n\n### 🍊Maven\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecn.hutool\u003c/groupId\u003e\n    \u003cartifactId\u003ehutool-all\u003c/artifactId\u003e\n    \u003cversion\u003e5.8.44\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### 🍐Gradle\n```\nimplementation 'cn.hutool:hutool-all:5.8.44'\n```\n\n## 📥Download\n\n- [Maven Repo](https://repo1.maven.org/maven2/cn/hutool/hutool-all/5.8.44/)\n\n\u003e 🔔️note:\n\u003e Hutool 5.x supports JDK8+ and is not tested on Android platforms, and cannot guarantee that all tool classes or tool methods are available.\n\u003e If your project uses JDK7, please use Hutool 4.x version.\n\n### 🚽Compile and install\n\nDownload the entire project source code\n\ngitee：[https://gitee.com/chinabugotech/hutool](https://gitee.com/chinabugotech/hutool) \n\ngithub:[https://github.com/chinabugotech/hutool](https://github.com/chinabugotech/hutool)\n\n```sh\ncd ${hutool}\n./hutool.sh install\n```\n\n-------------------------------------------------------------------------------\n\n## 🏗️Other\n\n### 🎋Branch Description\n\nHutool's source code is divided into two branches:\n\n| branch | description                                               |\n|-----------|---------------------------------------------------------------|\n| v5-master | The master branch, the branch used by the release version, is the same as the jar committed to the central repository and does not receive any pr or modifications. |\n| v5-dev    | Development branch, which defaults to the next SNAPSHOT version, accepts modifications or pr |\n\n### 🐞Provide feedback or suggestions on bugs\n\nWhen submitting feedback, please indicate which JDK version, Hutool version, and related dependency library version you are using.\n\n- [Gitee issue](https://gitee.com/chinabugotech/hutool/issues)\n- [Github issue](https://github.com/chinabugotech/hutool/issues)\n- [Gitcode issue](https://gitcode.com/chinabugotech/hutool/issues)\n\n### 🧬Principles of PR(pull request)\n\nHutool welcomes anyone to contribute code to Hutool, but the author suffers from OCD and needs to submit a pr (pull request) that meets some specifications in order to care for the patient.：\n\n1. Improve the comments, especially each new method should follow the Java documentation specification to indicate the method description, parameter description, return value description and other information, if necessary, please add unit tests, if you want, you can also add your name.\n2. Code indentation according to Eclipse.\n3. Newly added methods do not use third-party library methods，Unless the method tool is add to the '**extra module**'.\n4. Please pull request to the `v5-dev` branch. Hutool uses a new branch after 5.x: `v5-master` is the master branch, which indicates the version of the central library that has been released, and this branch does not allow pr or modifications.\n\n### 📖 Documentation source code\n\n[Documentation source code](https://gitee.com/loolly_admin/hutool-doc-handy)\n\n-------------------------------------------------------------------------------\n\n## ⭐Star Hutool\n\n[![Stargazers over time](https://starchart.cc/chinabugotech/hutool.svg)](https://starchart.cc/chinabugotech/hutool)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchinabugotech%2Fhutool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchinabugotech%2Fhutool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchinabugotech%2Fhutool/lists"}