kalmstrom.com Business Solutions
Access Database Converter
User Guide
Access 2000–365 databases (.accdb, .mdb, .accde and .mde)
to SharePoint, Excel, CSV, JSON, XML, SQL Server and SQLite
Runs in the browser at access.kalmstrom.com
Contents
1Your Access data, wherever you need it
4
1.1What Access Database Converter does for you
4
1.2How it works
5
1.3What you need
5
2Getting started
6
2.1Open a database
6
2.2Read the overview
7
2.3Make your first download
9
3Choose and correct the data
10
3.1Leave tables out
10
3.2Browse a table
11
3.3Correct values
12
3.4Where your edits are kept
13
4Pick the right download
14
4.1Which download for which goal
14
4.2Excel
14
4.3CSV
15
4.4JSON and XML
15
4.5Everything
16
4.6The preview
16
5Move the database to SharePoint
17
5.1What the script does
17
5.2Before you start (once per computer)
17
5.3Run the script
18
5.4Parameters
19
5.5How Access fields become SharePoint columns
20
6Move to SQL Server or SQLite
21
6.1What the script contains
21
6.2Run it on SQL Server
22
6.3Run it on SQLite
23
6.4Saved queries become views
23
7What is converted, and what is not
24
8Troubleshooting
25
9Quick reference and glossary
27
9.1From Access file to download
27
9.2Glossary
27

Chapter 1Your Access data, wherever you need it

An Access database often holds years of a company's work, locked in one file that only Access can open. Access Database Converter opens that file in your browser and turns it into a SharePoint site with one list per table, an Excel workbook, CSV files, JSON, XML or a SQL Server or SQLite script. You need no Access license, no installation and no upload: the database never leaves your computer.

1.1 What Access Database Converter does for you

Move to SharePoint in one script

One PowerShell script builds a list for each table, a column for each field and a lookup column for each relationship, then adds every row.

Hand data to Excel users

One workbook with one sheet per table, a bold frozen header and real numbers and dates, ready for filters and pivot tables.

Move to a real database server

A SQL Server or SQLite script creates the tables, keys, defaults and relationships, loads the rows and turns saved queries into views.

Feed other systems

JSON, XML and CSV carry the schema and the rows to integration tools, web apps and reports.

Fix data before you move it

Every table opens in an editable grid. Your corrections go into every download and wait in your browser until you come back.

Keep the data private

The file is read and converted in the browser and downloaded to your computer. Nothing is sent to kalmstrom.com or anyone else.

1.2 How it works

Access file .accdb / .mdb Your browser – nothing is uploaded Read Review and edit Convert SharePoint site Excel workbook CSV files JSON and XML SQL Server and SQLite scripts Everything in one zip
The database is read, reviewed and converted inside the browser.

1.3 What you need

ItemRequirement
DatabaseAccess 2000 or later: .accdb, .mdb, .accde or .mde, at most 512 MB, without a password
BrowserA current Edge, Chrome, Firefox or Safari
AccessNot needed
PowerShell scriptPowerShell 7 and the PnP.PowerShell module (see chapter 5)

Chapter 2Getting started

Two minutes from an Access file to a first download. The converter is a web page, so there is nothing to install.

2.1 Open a database

  1. Go to access.kalmstrom.com. On kalmstrom.com you also find it under Tools >Access database converter.
  2. Drag your Access database file onto the dashed box, or click the box and choose the file.
  3. Wait for the line under the box to show the number of tables and rows. A database of a few megabytes takes well under a second.
The start page with the drop box
The start page. The padlock line reminds you that the file stays on your computer.

2.2 Read the overview

When the file is read, the drop box gives way to the overview of your database.

The overview of the Northwind database
The Northwind sample: number tiles, download tiles, table chips and the table tabs.
PartWhat it tells you or does
Status lineFile name, tables, rows and the time it took to read. Errors appear here in red.
Number tilesTables, rows, relationships (links) and saved queries. Point at links or queries to see each one listed.
Download tilesOne tile per output. Point at a tile to see what it contains (chapter 4).
Table chipsThe tables that go into the downloads. Click a chip to leave a table out (chapter 3).
Discard editsForgets your corrections to this file (chapter 3).
Open another databaseShows the drop box again.
User guide and sample databaseThe link under the title opens the manual page on kalmstrom.com: this guide online and as a PDF, and the Northwind sample database.
Table tabsEvery table in an editable grid with search and paging.
Linked tables point to data in another file or on a server, so their rows are not in your database. Access Database Converter shows N linked tables skipped and lists their names when you point at that line.

2.3 Make your first download

  1. Click a download tile, for example Excel.
  2. Excel, CSV and Everything are saved straight away. SharePoint, SQL Server, SQLite, JSON and XML first open in a preview, where you can read or copy the text; click Download to save the file.
  3. The status line confirms the file name and size, for example Northwind.xlsx saved (48 KB).
Tip: the files are named after your database. Northwind.accdb gives Northwind.xlsx, Northwind-SharePoint.ps1, Northwind-sqlserver.sql and so on.

Chapter 3Choose and correct the data

A migration is the right moment to leave old tables behind and to fix wrong values. Access Database Converter lets you do both before you download, without touching the original database.

3.1 Leave tables out

Every table starts ticked. Click a chip to take its table out of all downloads; click it again to put it back. The status line counts what is chosen, for example 7 / 9 tables. Relationships to a table you leave out are dropped from the outputs.

Two table chips switched off
NorthwindFeatures and Welcome are left out; the other seven tables are exported.
Note: with no table chosen, the download tiles are locked and the status line says No table chosen.

3.2 Browse a table

Click a tab under the chips to open its table. Type in Search to find rows, use Open advanced filter to filter by column, and page with Previous and Next.

The Products table in the grid
The Products table. Rich-text memo fields show their HTML formatting as text.

3.3 Correct values

  1. Click a cell and type the new value, or paste several cells copied from a grid, such as an Excel sheet.
  2. Move to another row, another tab or a download. The row is then saved, and the status line says N edited rows saved in this browser.
  3. Every download from now on carries your corrections.
Column typeHow you edit it
Text and memoFree text
Number, currencyA number. Decimal and 64-bit numbers are edited as text so no digit is lost.
Yes/NoA check box
Date/Timeyyyy-mm-dd or yyyy-mm-dd hh:mm:ss
AutoNumber, OLE object, binaryLocked

A value that does not fit its column, such as letters in a number column, keeps the old value. Rows cannot be deleted or added here.

3.4 Where your edits are kept

Edits are stored in your browser, linked to the file name and size. Open the same file again later in the same browser and the status line shows N edited rows restored. Your original .accdb file is never changed.

Edits stay in this browser only. Another computer, another browser or a private window does not see them. Clearing the browser's site data deletes them. Download the result when you are done.

To start over, click Discard edits and confirm. The database is read again as it is on disk.

Chapter 4Pick the right download

Each download tile answers one question: where should this data live next? This chapter shows what each file contains, so you can choose without trying them all.

4.1 Which download for which goal

Your goalTileFile
Lists in SharePoint OnlineSharePoint<name>-SharePoint.ps1
Data for Excel users, pivot tablesExcel<name>.xlsx
Import into another toolCSV<table>.csv, or <name>-csv.zip for several tables
Web app, Power Automate, scriptsJSON<name>.json
Database on SQL Server or Azure SQLSQL Server<name>-sqlserver.sql
A single-file database for an appSQLite<name>-sqlite.sql
Archive, XML-based integrationXML<name>.xml
Keep it all, including attached filesEverything<name>-export.zip

4.2 Excel

One sheet per table, with the column names in a bold, frozen first row. Numbers, currency and dates are real Excel values, so sorting, filters and formulas work at once. A table larger than Excel's limit of 1,048,576 rows continues on a second sheet named Table (2). Binary values show as (N bytes).

4.3 CSV

One file per table, with a header row of column names. The files are UTF-8 with a byte order mark, so Excel opens accents and characters such as å, ä and ö correctly. With one table chosen you get the .csv file itself; with more, a zip of them.

4.4 JSON and XML

Both start with the schema – tables, columns, types, lengths, primary keys, relationships and saved queries – followed by every row. Dates are written as yyyy-MM-ddTHH:mm:ss, binary data as base64 and GUIDs as {...} text. XML element names follow Access's own XML export.

The XML preview of Northwind
The XML preview: the schema with column types and relationships, then the rows.

4.5 Everything

One zip with every output for the chosen tables, and the files stored in attachment fields:

Northwind-export.zip
  Northwind.xlsx
  Northwind.json
  Northwind.xml
  Northwind-SharePoint.ps1
  Northwind-sqlserver.sql
  Northwind-sqlite.sql
  csv/            one CSV per table
  attachments/    <table>/<row> <column>/<file name>
Tip: Everything is the only download that unpacks attachments, such as the employee photos in Northwind, into real files. Use it when the pictures and documents in your database matter.

4.6 The preview

SharePoint, SQL Server, SQLite, JSON and XML open in a preview window first. Read the script before you run it, click Copy to paste it somewhere else, or click Download to save it. Close leaves without saving.

Chapter 5Move the database to SharePoint

The SharePoint download is a PowerShell script that rebuilds your database as a SharePoint Online site: one list per table, one column per field, lookups for relationships and every row as an item. Your colleagues then work with the data in the browser, in Teams and on their phones – without Access.

5.1 What the script does

Sign in(Entra app) Create site(-CreateSite) Lists andcolumns Lookupcolumns Items(not -SchemaOnly) Parent lists are created before the lists that look them up. Optional steps in brackets.

Running the script again is safe: it only adds lists and columns that are missing, and it does not add items to a list that already has items, unless you give -Force. If a run stops halfway, run it again and it continues.

5.2 Before you start (once per computer)

  1. Install PowerShell 7 from Microsoft, if you do not have pwsh yet.
  2. In PowerShell 7, run Install-Module PnP.PowerShell -Scope CurrentUser.
  3. Register an Entra app for sign-in: Register-PnPEntraIDAppForInteractiveLogin. Note the client id it shows. Your tenant administrator may need to approve the app.
  4. For the settings window: Install-Module NativeWebView -Scope CurrentUser.

5.3 Run the script

  1. Click the SharePoint tile and then Download in the preview.
  2. Open PowerShell 7 in the download folder and start the script without parameters: ./Northwind-SharePoint.ps1. A window asks for the site address and client id, runs the script and shows the progress.
  3. Sign in with your Microsoft 365 account when the sign-in page opens.
  4. When the script is done, open the site. The new lists are on the left in the site navigation.
The SharePoint script in the preview
The start of the script explains what it builds, how many items it adds and every parameter.

5.4 Parameters

ParameterEffect
-SiteUrlThe site to build in, e.g. https://contoso.sharepoint.com/sites/Orders. Without it, the settings window opens.
-ClientIdThe Entra app id from step 3 in 5.2. Needed together with -SiteUrl.
-CertificatePathSigns in as the app with this .pfx certificate instead of interactively, for unattended runs. The certificate must be uploaded to the Entra app and the app needs SharePoint application rights.
-CertificatePasswordThe password of the .pfx file, if it has one.
-TenantThe tenant for the certificate sign-in, e.g. contoso.onmicrosoft.com. Needed with -CertificatePath.
-CreateSiteCreates the site first as a team site without a Microsoft 365 group. Needs SharePoint admin rights.
-SchemaOnlyLists and columns only, no items.
-ForceAdds the items even to lists that already have items.
./Northwind-SharePoint.ps1 -SiteUrl https://contoso.sharepoint.com/sites/Orders -ClientId <app id> -CreateSite
./Northwind-SharePoint.ps1 -SiteUrl https://contoso.sharepoint.com/sites/Orders -ClientId <app id>
    -Tenant contoso.onmicrosoft.com -CertificatePath .\app.pfx

5.5 How Access fields become SharePoint columns

Access fieldSharePoint column
Short TextSingle line of text, same maximum length (at most 255)
Long Text (memo)Multiple lines of plain text
Number (all sizes), DecimalNumber, with the same decimals
CurrencyCurrency, two decimals
Date/TimeDate and time
Yes/NoYes/No
Replication ID (GUID)Single line of text
Multi-value fieldChoice, several selections allowed
AttachmentMultiple lines of text with the file names
Relationship (one column)Lookup to the parent list
OLE object, binaryLeft out; listed in the script's header

Each list's Title shows the first short text column, or the key. Column names are kept as display names; the internal names are shortened to safe letters and digits and never clash with SharePoint's own columns.

Attached files are not uploaded to SharePoint; the column lists their names. Get the files themselves from the Everything zip (4.5).
Dates are converted with the time zone of the SharePoint site, so 09:00 in Access shows as 09:00 in the list.

Chapter 6Move to SQL Server or SQLite

When a database has outgrown Access, the SQL downloads move it to a real database server – tables, keys, rules, data and saved queries – in one script you run once.

6.1 What the script contains

CREATE TABLEkeys, NOT NULL, DEFAULT INSERT500 rows per statement Uniqueindexes CREATE VIEWsaved queries Foreign keysthen COMMIT All in one transaction: an error leaves the database as it was.
AccessSQL ServerSQLite
Short TextNVARCHAR(n)TEXT
Long Text, multi-value, attachment namesNVARCHAR(MAX)TEXT
Byte, Integer, Long Integer, Large NumberTINYINT, SMALLINT, INT, BIGINTINTEGER
Single, DoubleREAL, FLOATREAL
Currency, DecimalMONEY, DECIMAL(p,s)NUMERIC
Date/TimeDATETIME2(3)TEXT (ISO date)
Yes/NoBITINTEGER
Replication IDUNIQUEIDENTIFIERTEXT
OLE object, binaryVARBINARYBLOB

AutoNumber columns stay identity columns on SQL Server and keep their values, so the relationships still match. Access Required becomes NOT NULL and simple default values (numbers, text, True/False, Now(), Date()) become DEFAULT.

6.2 Run it on SQL Server

  1. Create an empty database, for example in SQL Server Management Studio or on Azure SQL.
  2. Open Northwind-sqlserver.sql in a query window connected to that database.
  3. Run it. The message pane shows no rows-affected noise; it ends after the final COMMIT.
The SQL Server script in the preview
The SQL Server script in the preview, before it is downloaded.

6.3 Run it on SQLite

sqlite3 Northwind.db < Northwind-sqlite.sql

SQLite cannot add a foreign key to an existing table, so the relationships are written inside each CREATE TABLE; checking is switched off during the load and on again at the end.

6.4 Saved queries become views

Access Database Converter rebuilds the SQL of every saved query, as Access shows it in SQL view. Select queries become CREATE VIEW, each after the queries it reads. Text in double quotes becomes single-quoted, DISTINCTROW becomes DISTINCT, and on SQLite TOP n becomes LIMIT n.

Moved manually: action queries (update, append, delete, make-table), crosstab, union, pass-through and DDL queries, and queries that read a table you left out, are written as comments with their Access SQL.

Queries that use Access functions such as Year, Format or form references ([Forms]![...]) need a person too. The SQL Server script recognises them and keeps them as comments, so it always runs through; in Northwind 17 of 30 queries become views. SQLite creates such views anyway, and they fail when they are read (6 of 23 in Northwind).

Chapter 7What is converted, and what is not

Access Database Converter moves the data and its structure. Knowing the limits up front saves a surprise after the migration.

Part of the databaseResult
Tables, columns, rowsConverted every output
Primary keys, unique indexesConverted SQL; key and type listed in JSON and XML
RelationshipsConverted lookups in SharePoint, foreign keys in SQL
Required, default valuesConverted SQL scripts
Saved select queriesConverted views in SQL; SQL text in JSON and XML
Multi-value fieldsConverted items as a; b; choice column in SharePoint
Attachment fieldsPartly files in the Everything zip; names elsewhere
Action and other queriesPartly kept as comments (6.4)
OLE objectsPartly raw bytes in SQL, JSON and XML; left out in SharePoint
Linked tablesSkipped their data is in another file
Version history of append-only memosSkipped
Forms, reports, macros, VBA modulesSkipped
Access 97 and older, password-protected filesNot opened see chapter 8
Unreadable tables. If one table is damaged, the others are still converted. The overview then shows N tables unreadable; point at it to see which tables and why.

Chapter 8Troubleshooting

Every message Access Database Converter shows appears in the status line under the drop box or above the tiles. Find the message below for its cause and what to do.

An error message in red under the drop box
Errors are shown in red in the status line.
Message or problemCause and next step
'x' is not an Access database (.accdb or .mdb)The file has another extension. Choose the Access database file; for an Excel file you need no converter.
'x' is larger than 512 MBCompact the database in Access (File >Info >Compact & Repair), or split it into two files.
... it is an Access 97 (or older) databaseOpen it in Access and save it as .accdb, then try again.
... it is password protected or encryptedRemove the password in Access: File >Info >Decrypt Database.
... it is not an Access database, or it is damagedRun Compact & Repair in Access, or try a backup copy.
Message or problemCause and next step
No tables with dataThe file holds only forms, reports or linked tables. Convert the back-end file that holds the tables instead.
N linked tables skippedThose tables live in another file. Open that file too.
No table chosen, tiles greyed outClick at least one table chip.
This browser cannot write zip filesExcel, CSV and Everything need a current Edge, Chrome, Firefox or Safari.
My edits are goneThey are kept per browser and file. Use the same browser, not a private window, and the same unchanged file (3.4).
The script says Run this script in PowerShell 7Start it from pwsh, not Windows PowerShell 5.1.
The script says Install PnP.PowerShell firstRun the steps in 5.2.
Sign-in fails in the scriptCheck the client id and that the Entra app is approved in your tenant.
A query is missing on SQL Server, or a view fails on SQLiteThe query uses an Access function or a form reference. Translate it manually from the comment in the script (6.4).

Chapter 9Quick reference and glossary

9.1 From Access file to download

  1. Open access.kalmstrom.com and drop the file.
  2. Click chips to leave tables out.
  3. Correct values in the table tabs, if needed.
  4. Click a download tile; for a preview, click Download.

9.2 Glossary

TermMeaning
Attachment fieldAn Access column that stores files, such as photos, inside the database.
AutoNumberA number Access gives each new row automatically; usually the primary key.
ChipThe rounded table button over the tabs; on means the table is in the downloads.
Entra appA registration in Microsoft Entra ID that lets the SharePoint script sign you in.
Linked tableA table whose data lives in another Access file or on a server.
Lookup columnA SharePoint column that points to an item in another list; made from a relationship.
Multi-value fieldAn Access column that holds several choices in one cell.
PnP.PowerShellThe free PowerShell module the SharePoint script uses to talk to SharePoint.
Primary keyThe column that identifies each row of a table.
RelationshipA link from a column in one table to the key of another, e.g. Orders to Customers.
ViewA saved query in SQL Server or SQLite; made from an Access select query.
Try it with Northwind. The pictures in this guide use Microsoft's Northwind sample database: 9 tables, 233 rows, 5 relationships, 30 saved queries and employee photos.