The conversion process may take a while depending on the size of the file and your internet connection.

If you don’t have Visual Studio, you can download it and start a free trial from https://visualstudio. microsoft. com/downloads/.

#Python program to convert text[[Image:Convert Txt to Json Step 6 Version 2. jpg|center]] #file to JSON import json[[Image:Convert Txt to Json Step 7 Version 2. jpg|center]] #the file to be converted to[[Image:Convert Txt to Json Step 8 Version 2. jpg|center]] # json format filename = ‘EXAMPLE. txt’ # dictionary where the lines from # text will be stored dict1 = {} # creating dictionary with open(filename) as fh: for line in fh: # reads each line and trims of extra the spaces # and gives only the valid words command, description = line. strip(). split(None, 1) dict1[command] = description. strip() # creating json file # the JSON file is named as test1 out_file = open(“test1. json”, “w”) json. dump(dict1, out_file, indent = 4, sort_keys = False) out_file. close() You need to change the first filename listed to your TXT file; the second filename will be the name of the converted file, so you might need to change that name too. This code example taken from: https://www. geeksforgeeks. org/convert-text-file-to-json-in-python/.