Active Directory LDAP query builder
Generate exact LDAP filter queries for Active Directory, Entra Domain Services and PowerShell Get-ADUser.
Runs in your browser. Nothing you type is sent to the server.
About this tool
Active Directory, Entra ID Domain Services and LDAP directories use RFC 4515 filter syntax and special bitwise matching rules (such as 1.2.840.113556.1.4.803 for bitwise AND on userAccountControl). This tool generates valid, production-tested LDAP search filters and ready-to-run PowerShell Get-ADUser and Get-ADGroup commands.