Skip to content

Survey Data Cleaning: Google Forms to SPSS

A Google Forms export stores answers as words (“Agree”, “Strongly agree”), so before SPSS you must code them as numbers and drop careless responses, for example those completed faster than about 2 seconds per item (Huang et al., 2012). Upload the file and this tool assigns variable codes, converts Likert labels to numbers, reverse codes negatively worded items, applies the exclusion rules you declare, and gives you a clean CSV, labelled SPSS syntax and a ready-made Method paragraph.

  1. Upload the CSV or Excel export from Google Forms or Microsoft Forms
  2. Check the variable codes, the response scale and your exclusion rules
  3. Download the clean CSV, the SPSS syntax and the Method paragraph
1. Upload the response file
Export from Google Forms (Responses → Download responses (.csv), or the linked sheet → File → Download → .xlsx), Microsoft Forms (Open in Excel) or Genius Data (Export CSV). The file is read in your browser and never sent to a server.

Send to your study group

When the whole group uses one tool, your numbers match when you merge chapters.

Was this tool useful? Feedback / report a bug (by email; please do not paste real data).

How to clean Google Forms data for SPSS

  1. Upload the response file. In Google Forms, open the Responses tab, click the three-dot menu and choose Download responses (.csv). Microsoft Forms and Genius Data exports work too; the tool recognises the source and drops e-mail, name and respondent-ID columns from the output.
  2. Check the variable codes. Google Forms uses the whole question as the column header. If a question starts with a code, such as “TT1. Gender” or a grid row “How much do you agree… [PU1. The app helps me…]”, the tool takes that code. Forms built with the Survey Kit already carry codes: AC1 or ACHK is the attention check, SANGLOC or SCREEN the screening question, TT1, TT2… the demographics. If your form has no codes, paste a codebook so columns are matched by question text, or type codes into the table.
  3. Choose the response scale. The tool detects 5- or 7-point scales and agreement, satisfaction or frequency labels. For any other wording choose Custom and enter one “label = number” pair per line.
  4. Declare the exclusion rules, then click Clean the data. Enter the rules exactly as written in your proposal, plus the target sample size. The output shows how many responses each step removed and how many valid responses remain.
  5. Download the results. The clean CSV holds only valid responses, all numeric. The SPSS syntax (.sps) reads that file and declares variable labels, value labels and the missing-value code (99 by default). The codebook CSV is ready for your appendix, and “all responses with exclusion reason” lets you audit every excluded case.

To try it first, click “Use the sample file” (simulated data). Your file is read in the browser and never uploaded.

How to reverse code Likert items

Type the codes of negatively worded items (for example PEOU4) in the “Reverse-worded items” box. The tool applies new score = lowest + highest − old score using the range you declared, so on a 1–5 scale a 5 becomes 1 and a 2 becomes 4, even if nobody chose the extreme points. Reverse-coded items are labelled “(reverse coded)” in SPSS, so do not reverse them again in the analysis tool.

The exclusion rules

Responses are checked in the order below and each one is counted only under the first rule it breaks. The column “Flagged on its own” shows how many responses each rule would catch by itself.

Meade and Craig (2012) and Curran (2016) recommend combining several indicators and fixing thresholds in advance. Changing the rules after seeing the results is cherry-picking, and the tool warns you if you do.

Worked example: 8 responses, one excluded by each rule

This small file is used in the tool’s automated tests: 8 responses exported from Microsoft Forms, a 5-point scale, a screening question SANGLOC, an attention check AC1 (correct answer 2), a reverse-worded item PEOU3 and a target of 10 valid responses. With all six rules on, the tool reports:

StepExcludedRemaining
Failed screening question (SANGLOC = never used)17
Failed attention check (AC1 not 2)16
Completed too fast (under 60 seconds)15
Straight-lining (same answer to all 6 items)14
Duplicate of an earlier response13
Missing answers12

Two valid responses remain, 8 short of the target of 10.

Reading the output

How to report it (APA 7)

The tool drafts the data-cleaning paragraph for your Method section: the rules applied, the number excluded at each step and the final valid sample, with references. For the example above it would read, in part: “Data were collected through Microsoft Forms, yielding 8 responses. Exclusion rules were specified before the analysis, following recommendations for detecting careless responding (Meade & Craig, 2012; Curran, 2016)…” Click Copy or Download Word. The paragraph is only honest if the rules were fixed before you looked at the results and applied equally to every response. Put the downloaded codebook in an appendix.

When you are short of valid responses

The only legitimate way to close the gap is to collect more real responses and clean them with the same rules. The tool never fills in, duplicates or imputes answers to reach a number; that would be data fabrication. Work out the minimum with the sample size calculator and collect 15–20% extra, because some responses are always excluded.

FAQ

Can I send the data straight to the analysis tool?

Not yet. Download “Clean file (CSV)” and upload it to Survey Data Analysis for Cronbach's alpha, EFA and regression. Reverse-worded items are already reverse coded, so do not declare them again.

Why is there no .sav file?

Run the syntax in SPSS, then choose File → Save As to save the data as .sav.

How are demographic answers numbered?

By the codebook if you supply one. Otherwise labels containing numbers (“Under 3 million”, “Year 2”) are ordered by the number, other labels alphabetically, with “Other” last.

Does Google Forms record how long a respondent took?

No. It records only the submission timestamp, so the too-fast rule cannot be used; rely on attention checks and straight-lining instead, or use a form service that records start and end times.

References

One of the free research tools of Research Corner.