Find unique identifiers, composite keys, and almost-keys that fail due to blanks or duplicates.
| columns | score | unique | duplicates | blanks | reason |
|---|---|---|---|---|---|
| order_id | 100 | 4 / 4 | 0 | 0 | Unique and complete. |
| order_id + user_id | 100 | 4 / 4 | 0 | 0 | Unique and complete. |
| order_id + email | 100 | 4 / 4 | 0 | 0 | Unique and complete. |
| order_id + sku | 100 | 4 / 4 | 0 | 0 | Unique and complete. |
| user_id + sku | 100 | 4 / 4 | 0 | 0 | Unique and complete. |
| email + sku | 100 | 4 / 4 | 0 | 0 | Unique and complete. |
| user_id | 84 | 3 / 4 | 1 | 0 | Almost key; duplicates need review. |
| user_id + email | 84 | 3 / 4 | 1 | 0 | Almost key; duplicates need review. |
| 80 | 3 / 4 | 1 | 0 | Almost key; duplicates need review. | |
| sku | 60 | 2 / 4 | 2 | 0 | Almost key; duplicates need review. |
Tip: use samples, upload, copy, download, and send-to actions inside the workspace where available.
Primary Key Finder is a free, browser-based tool that helps you convert between formats. Find unique identifiers, composite keys, and almost-keys that fail due to blanks or duplicates. It's built for speed and privacy: Everything runs locally in your browser — your data is never uploaded to a server. No sign-up, no installs, and no daily limits.
Source data with headers, fields, and nested values
Converted data ready to copy, download, or continue into another tool.
data with two rows or records
result output with the same fields preserved.
Record with id, name, status, created_at, and nested metadata
Fields are preserved in the target format so the data can be reviewed or imported.
A record where one optional field is empty or null
The result keeps missing values explicit instead of silently inventing data.
Data copied from an API response, spreadsheet, or database export
Converted output that can be copied, downloaded, or sent to another DataXForge tool.
Use this prompt when you want an AI assistant to explain or double-check the same job.
Act as a data assistant. Use the same goal as Primary Key Finder: convert this data and explain any assumptions. Input: [paste your data here] Return the result, a short explanation, and any warnings about malformed, missing, duplicate, or sensitive values.
Start with the source file or pasted payload, then confirm delimiters, headers, and field handling before conversion.
Review the preview, copy or download the result, and keep everything local in your browser.
Join Key Analyzer: Compare two CSV tables and rank the safest join keys with duplicate and unmatched-rate diagnostics.
Open toolColumn Relationship Detector: Spot foreign-key candidates and 1:1 / 1:N relationships.
Open tool