This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Company Number Format Checker

Utilities · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryUtilities
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

Automatically detects and validates company registration numbers on web pages using country-specific formats. The script scans page text for potential company numbers across multiple jurisdictions—UK Companies House numbers (12345678), German HRB numbers (HRB 12345), French SIREN numbers (123 456 789), US EINs (12-3456789), and many more. Each detected number is validated against country-specific patterns, length requirements, and format rules. The panel displays detected company numbers with their status (Valid/Invalid/Unknown), country of origin, and registration type label. Valid numbers can be copied to clipboard with a single click, and results can be exported as text or JSON for audit and compliance purposes. Per-page validation results are saved per URL or custom identifier.

WHERE IT RUNS

Works on all websites (match pattern *://*/*), making it perfect for procurement portals, compliance dashboards, vendor management systems, legal document review tools, due diligence platforms, or any web page that displays company registration information. Each page gets its own independent validation results set, allowing you to scan and track company numbers across multiple contexts. Results are saved per page identifier, ensuring continuity across sessions and page reloads.

HOW TO USE

Install the script and the Company Number Format Checker appears in the panel. Click "Scan Page" to scan the current page for company registration numbers. The script detects potential company numbers and validates them against country-specific patterns and length rules. Each detected number is shown with a color-coded status indicator (green for valid, red for invalid), the country of origin, the country code, and a registration type label. Click any company number to copy it to your clipboard. Use the export buttons to copy results as text or JSON for auditing. Customize the strictness level (loose/standard/strict) and add custom country patterns. The script can auto-scan on page load if enabled.

REAL MECHANISM: MULTI-JURISDICTION PATTERN ENGINE WITH REGISTRATION TYPE LABELING

This script uses a comprehensive company number detection engine built around country-specific format patterns covering major jurisdictions worldwide. The defaultPatterns array contains 24+ country entries with fields for country name, country code, regex pattern, and registration type label (e.g., "Companies House", "Handelsregister", "SIREN", "EIN"). The extractCompanyNumbers() function builds a combined regex from all patterns and scans page text using a global match. Each candidate is then validated through a two-stage process: first, the pattern is tested against the number using new RegExp(pattern.pattern); second, the strictness level is applied—"loose" accepts any pattern match, "standard" allows ±2 length variance, and "strict" requires exact length matching. The results include a registration type label that identifies the specific registry type (e.g., "SIREN" vs "SIREN (compact)" for France), providing more context than just country. Results are deduplicated using a Set. Each validated company number is stored with its id, number, country, code, label, valid status, and matches array. The render function displays results with a color-coded status dot, a click-to-copy company number element, a country badge, a registration type badge (with distinctive amber color), and a status label. Click-to-copy uses GM_setClipboard. Settings (strictness, auto-scan) are persisted via GM_setValue. All operations are reactive, with automatic persistence through saveCompanyResults() and re-render.

THE PANEL

Drag the panel anywhere on screen by clicking and holding the header. It snaps to screen edges when released. Collapse it to a small bubble by clicking the minimize button, and expand it back by clicking the bubble. Resize the panel from any corner. Press Escape to close the configuration panel. Your position and size preferences are saved automatically per site.

PLEASE NOTE

This script requires the free BotGentz browser extension which provides the BGPanel framework and storage APIs. All data (detected company numbers, patterns, and page identifiers) is stored locally in your browser using GM_setValue and never sent anywhere. No analytics, no tracking, no external calls. The script only reads the current page content to detect company numbers and never accesses user data, passwords, or sensitive information. Validation is format-based only; the script does not perform live verification against government or company registry databases.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.