Try It!

Address files

This document describes the contents and formats of the address files.

Sverigefilen - contents and layout

ContentsDescription
Article number / File name:rec1_v1
Available file formats:CSV, TXT (fixed row length)
Number of rows:Approx 1 100 000
Columns:Address type (ortkod)
Street
Street number FROM
Letter FROM
Street number TO
Letter TO
Postcode
Locality
Range type
Parish code
Municipality area
Address range code (unique identifier)
Encoding:ISO-8859-1, UTF-8

Layout

The following table shows how the file is structured. The columns "Start" and "Length" is only relevant for text files with fixed row length.

StartLengthContents
12Address type (ortkod)
340Street
4310Street number FROM
536Letter FROM
5910Street number TO
696Letter TO
755Postcode
8020Locality
1002Range type
1026Parish code
10835Municipality area
14320Address range code (unique identifier)
1632End of row (CR+LF)

Sverigefilen - Län, kommun, församling - contents and layout

ContentsDescription
Article number / File name:rec1LKF_v1
Available file formats:CSV, TXT (fixed row length)
Number of rows:Approx 1 100 000
Columns:Address type (ortkod)
Street
Street number FROM
Letter FROM
Street number TO
Letter TO
Postcode
Locality
Range type
County code
County name
Municipality code
Municipality name
Municipality area
Parish code
Parish name
Address range code (unique identifier)
Encoding:ISO-8859-1, UTF-8

Layout

The following table shows how the file is structured. The columns "Start" and "Lengh" is only relevant for text files with fixed row length.

StartLengthContents
12Address type (ortkod)
340Street
4310Street number FROM
536Letter FROM
5910Street number TO
696Letter TO
755Postcode
8020Locality
1002Range type
1022County code
10438County name
1424Municipality code
14638Municipality name
18435Municipality area
2196Parish code
225Parish name
20Address range code (unique identifier)
2End of row (CR+LF)

Sverigefilen - Län, kommun, distrikt - contents and layout

ContentsDescription
Article number / File name:rec1LKD_v1
Available file formats:CSV, TXT (fixed row length)
Number of rows:Approx 1 100 000
Columns:Address type (ortkod)
Street
Street number FROM
Letter FROM
Street number TO
Letter TO
Postcode
Locality
Range type
County code
County name
Municipality code
Municipality name
Municipality area
District code
District name
Address range code (unique identifier)
Encoding:ISO-8859-1, UTF-8

Layout

The following table shows how the file is structured. The columns "Start" and "Lengh" is only relevant for text files with fixed row length.

StartLengthContents
12Address type (ortkod)
340Street
4310Street number FROM
536Letter FROM
5910Street number TO
696Letter TO
755Postcode
8020Locality
1002Range type
1022County code
10438County name
1424Municipality code
14638Municipality name
18435Municipality area
2196District code
225District name
20Address range code (unique identifier)
2End of row (CR+LF)

Sverigefilen - Förändringar - contents and layout

ContentsDescription
Article number / File name:rec4_v1
Available file formats:CSV, TXT (fixed row length)
Number of rows:N/A (depends on the number of changes carried out and the chosen time period)
Columns:New Address type (ortkod)
New Street
New Street number FROM
New Letter FROM
New Street number TO
New Letter TO
New Postcode
New Locality
New Range type
New County code
New County name
New Municipality code
New Municipality name
New Municipality area
New Address range code (unique identifier)
Old Address type (ortkod)
Old Street
Old Street number FROM
Old Letter FROM
Old Street number TO
Old Letter TO
Old Postcode
Old Locality
Old Range type
Old County code
Old County name
Old Municipality code
Old Municipality name
Old Municipality area
Old Address range code (unique identifier)
Encoding:ISO-8859-1, UTF-8

Layout

The following table shows how the file is structured. The columns "Start" and "Lengh" is only relevant for text files with fixed row length.

StartLengthContents
12New Address type (ortkod)
340New Street
4310New Street number FROM
536New Letter FROM
5910New Street number TO
696New Letter TO
755New Postcode
8020New Locality
1002New Range type
1022New County code
10438New County name
1424New Municipality code
14638New Municipality name
18435New Municipality area
2196New Address range code (unique identifier)
2252Old Address type (ortkod)
22740Old Street
26710Old Street number FROM
2776Old Letter FROM
28310Old Street number TO
2936Old Letter TO
3005Old Postcode
30520Old Locality
3252Old Range type
3272Old County code
32938Old County name
3674Old Municipality code
37138Old Municipality name
40935Old Municipality area
44420Old Address range code (unique identifier)
4642End of row (CR+LF)

What’s Next

Below you'll find detailed information regarding column and range types/address intervals in the address files