Genory
COUNTRY WORKBENCH / SE

Sweden Test Data Generator

Create synthetic Sweden profiles for forms, demonstrations and localization tests.

OUTPUT

Your next test starts here

{ }

Preparing your test data…

Your first record will appear here shortly.
Copy individual values or export the entire result.

Synthetic identities; domains, addresses and numbers may coincide with real values. Do not contact or send payments.

Testing Sweden interfaces

This locale uses sv definitions for names and presentation formats. Test text lengths, input handling, exports and Unicode support. City, region and available postal codes come from the same GeoNames locality. See the generated quality note for postal coverage; street and house number remain synthetic.

COUNTRY-SPECIFIC TEST CASES

Testing Sweden forms

Use a Sweden profile as a starting point for form tests. This guide focuses on spaces inside swedish postcodes. Add the deliberate fixture below to make that behavior repeatable.

Generator locale: sv. Suggested application display locale: sv-SE. These are separate settings; this guide does not change the generator’s output.

Address reference for Sweden

The Swedish UPU sheet groups five postcode digits as three digits, a space and two digits before the locality. It gives separate street and PO box examples.

Spaces inside Swedish postcodes

Test both whitespace normalization and display formatting. Removing duplicate spaces should not cause the intentional postcode separator to vanish in the final address label.

A deliberate regression fixture

Editorial regression fixture — shape and preservation tests only
country: SE
postal_shape: "123 45"
box_input: "BOX 24"
expected: Keep the postcode’s three-plus-two display grouping and the box number as a separate component.

These editorial inputs are for controlled tests. They are not verified addresses, guaranteed unassigned contact details, or automatically generated examples.

  1. 01

    Fixture assertion

    Keep the postcode’s three-plus-two display grouping and the box number as a separate component.

  2. 02

    Original text

    Add the hand-written input “Åsa” and compare it after saving, copying and CSV import. It is an editorial string, not promised generator output.

  3. 03

    Locale and coverage

    Test sv-SE display separately from the stored date-only value. Keep the generated locality coverage note with the record; the address reference does not expand Genory’s dataset.

Address reference: UPU addressing guide: Sweden. Reviewed 4 October 2026. Postal presentation rules are not universal rules for storing personal names.

Guides for this task

All guides →