Topicality. In this article discusses the identification of soils according to the international soil classification World Reference Base for Soil Resources system (WRB). The World Reference Base for Soil Resources was developed to identify soils and use the obtained data in different areas of everyday life: agriculture, forestry, animal husbandry, etc. The purpose of the work Note that the WRB, developed by a group of soil scientists, is not meant to replace national classification systems. Besides this classification system, there are also different soil classifications designed by national soil science schools. The difference in the structures of these classifications necessitated the development of a diagnostic algorithm to correlate them with each other. Results Three options for determining whether a soil belongs to reference soil groups are considered, depending either on soil parameters only, or on a combination of diagnostic horizons and soil parameters, or only on diagnostic horizons. A group of scientists headed by M. Babayev also developed a national soil classification system for Azerbaijan. In order to compare these two systems, this study proposes a soil data structure, as well as an algorithm for soil identification according to the WRB classification on the basis of the proposed structure. Conclusion A soil diagnostic algorithm is developed, which will allow identifying any soil type with the corresponding WRB Reference Soil Group. Three variants of allocating soils to WRB Reference Soil Groups based only on soil parameters, or on the combination of diagnostic horizons and soil parameters, or only on diagnostic horizons are considered.