Markdown to Qlik Converter

Transform Markdown tables into Qlik format

Markdown Input

Qlik Output

About Markdown to Qlik Converter

Convert Markdown tables to Qlik Sense load script format. Perfect for data transformation and integration workflows in Qlik Sense and QlikView.

Key Features

  • LOAD Script: Generates Qlik LOAD statements with INLINE data
  • Field Escaping: Proper bracket notation for field names
  • CSV Delimiter: Uses comma delimiter with proper quoting
  • Custom Table Name: Specify your own table identifier
  • Unique Headers: Automatically handles duplicate column names
  • Download: Save as .qvs file

How to Use

  1. Input Markdown Table: Paste your Markdown table or upload a .md file
  2. Set Table Name: Customize the table name (default: MarkdownData)
  3. Review Script: The Qlik load script is generated automatically
  4. Copy or Download: Use the script in your Qlik application
  5. Load in Qlik: Paste into Qlik Sense or QlikView script editor

Example Conversion

Markdown Input:

| Name | Age | City | Department |
|------|-----|------|------------|
| John Doe | 28 | New York | Engineering |
| Jane Smith | 34 | London | Marketing |
| Bob Johnson | 45 | Toronto | Sales |

Qlik Output:

MarkdownData:
LOAD
    [Name],
    [Age],
    [City],
    [Department]
INLINE [
Name,Age,City,Department
John Doe,28,New York,Engineering
Jane Smith,34,London,Marketing
Bob Johnson,45,Toronto,Sales
] (delimiter is ',');

Common Use Cases

  • Data Loading: Load test or sample data into Qlik apps
  • Prototyping: Quickly create data models from documentation
  • Master Data: Load reference tables and lookup data
  • Configuration: Load configuration parameters
  • Testing: Create test datasets for development
  • Documentation: Convert documented data into loadable format
  • Migration: Transfer data from Markdown docs to Qlik

Qlik Script Features

  • LOAD Statement: Standard Qlik LOAD syntax
  • INLINE Clause: Embeds data directly in the script
  • Field Brackets: [FieldName] notation for proper escaping
  • Delimiter: Comma delimiter with CSV quoting rules
  • Table Label: Custom table name for data model

Field Name Handling

  • Bracket Notation: All fields wrapped in [brackets]
  • Special Characters: Properly escaped (] becomes ]])
  • Unique Names: Duplicate columns get _2, _3 suffixes
  • Empty Names: Auto-generated as Field1, Field2, etc.
  • Whitespace: Preserved in field names

Using in Qlik Sense

Load Script Editor:

  1. Open your Qlik Sense app
  2. Go to Data load editor
  3. Paste the generated script
  4. Click "Load data"
  5. Use the table in your visualizations

Modify the Script:

// Add transformations
MarkdownData:
LOAD
    [Name],
    Num([Age]) as Age,           // Convert to number
    Upper([City]) as City,        // Uppercase
    [Department]
INLINE [
Name,Age,City,Department
John Doe,28,New York,Engineering
] (delimiter is ',');

Advanced Qlik Techniques

Join with Other Tables:

// Load main data
MarkdownData:
LOAD * INLINE [
Name,Age,City
John Doe,28,New York
] (delimiter is ',');

// Join with lookup table
Left Join (MarkdownData)
LOAD * INLINE [
City,Country
New York,USA
] (delimiter is ',');

Apply Transformations:

MarkdownData:
LOAD
    [Name],
    Num([Age]) as Age,
    Date#([HireDate], 'YYYY-MM-DD') as HireDate,
    If([Department] = 'Engineering', 'Tech', 'Other') as Division
INLINE [
Name,Age,HireDate,Department
John Doe,28,2020-01-15,Engineering
] (delimiter is ',');

Data Type Handling

Qlik automatically interprets data types, but you can force types:

  • Numbers: Num([Field]) or Num#([Field], '###')
  • Dates: Date#([Field], 'YYYY-MM-DD')
  • Times: Time#([Field], 'hh:mm:ss')
  • Timestamps: Timestamp#([Field], 'YYYY-MM-DD hh:mm:ss')
  • Text: Text([Field]) to force string type

Tips for Best Results

  • Use descriptive table names for better data model clarity
  • Ensure column names are unique and meaningful
  • Test the script in Qlik before using in production
  • Add comments to document the data source
  • Consider data types and add conversions if needed
  • Use INLINE for small datasets (< 1000 rows)
  • For larger datasets, use external files instead

Qlik Sense vs QlikView

This script works in both platforms:

  • Qlik Sense: Use in Data load editor
  • QlikView: Use in Edit Script window
  • Syntax: Identical LOAD script syntax
  • INLINE: Supported in both platforms

Limitations

  • INLINE is best for small datasets (recommended < 1000 rows)
  • Large datasets should use external files (CSV, Excel, Database)
  • No support for complex data structures (nested objects)
  • All data loaded as text (add type conversions as needed)

Privacy & Security

All conversions happen locally in your browser. Your Markdown data is never uploaded to any server, ensuring complete privacy and security.