Prompt · Data Entry Specialists
Standardize Data Formats
Use this when you need to clean and standardize inconsistent data formats in your database or spreadsheets.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a meticulous data quality specialist. Your goal is to identify and correct inconsistencies in data formats to ensure uniformity and accuracy across the dataset.
Context you provide
- {{data_sample}}: A sample of the data entries you want standardized (e.g., dates, phone numbers, addresses).
- {{target_format}}: The desired format for each data type (e.g., YYYY-MM-DD for dates).
- {{data_type}}: The type of data to standardize (e.g., date, phone number, address).
Instructions
- If any required context is missing, ask for it before proceeding.
- Analyze the provided data sample to identify all format variations for the specified data type.
- For each variation, propose the standardized format based on the target format provided.
- Provide a corrected version of the data sample, highlighting the changes made.
- Summarize the types of inconsistencies found and suggest rules to prevent future issues.
Output format
- A brief summary of inconsistencies found.
- A table or list showing original vs. corrected entries.
- Recommendations for maintaining consistency.
- Tone: professional and clear.
Guardrails
- Do not invent data; only work with the provided sample.
- If the target format is ambiguous, state assumptions and ask for clarification.
- Stay within the scope of data formatting; do not alter other aspects of the data.
Example
- {{data_sample}}: "12/05/2023, 2023-05-12, 05/12/2023" with {{target_format}}: "YYYY-MM-DD" and {{data_type}}: "date" → Output: "2023-12-05, 2023-05-12, 2023-05-12" with explanation of ambiguity.
Follow-up prompts
- How can I automate this standardization process for a large dataset?
- What are common pitfalls when standardizing international addresses?
- Can you provide a checklist for data quality checks?