-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
64 lines (60 loc) · 3.58 KB
/
index.html
File metadata and controls
64 lines (60 loc) · 3.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html lang="en" class="light-mode">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JSON2Table - Convert JSON to Table | Online JSON Editor and Converter</title>
<meta name="description"
content="Free JSON to table converter and editor. Transform JSON arrays and nested objects into editable tables. Edit your data in a clear table view and convert back to formatted or minified JSON. Simple, offline-capable JSON editor tool.">
<meta name="keywords" content="JSON editor, JSON to table, JSON viewer, nested JSON converter">
<meta property="og:type" content="website">
<meta property="og:title" content="JSON2Table - Convert JSON to Table Online">
<meta property="og:description"
content="Transform JSON into editable tables. Handle arrays and nested objects easily. Edit and convert back to formatted or minified JSON. Free offline-capable JSON to table converter.">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="JSON2Table - Convert JSON to Table Online">
<meta name="twitter:description"
content="Transform JSON into editable tables. Handle arrays and nested objects easily. Edit and convert back to formatted or minified JSON. Free offline-capable JSON to table converter.">
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<div class="content">
<div class="header-controls">
<h1>JSON2Table Editor</h1>
<button id="toggleThemeBtn" title="Toggle Dark Mode">🌙</button>
</div>
<div class="textarea-container" id="dropZone">
<label for="jsonInput">JSON Input (Drag & Drop JSON files here)</label>
<textarea id="jsonInput" spellcheck="false"></textarea>
<button id="sampleJsonBtn" class="sample-btn">Load Sample JSON</button>
</div>
<div class="button-group">
<button id="convertBtn">Convert to Table</button>
<button id="saveFormattedBtn">Save as Formatted JSON</button>
<button id="saveMinifiedBtn">Save as Minified JSON</button>
<button id="exportCsvBtn">🔒 Export as CSV (Premium)</button>
<!-- Inline premium section, hidden by default -->
<div id="premiumSection" class="premium-section" style="display: none;">
<span>Unlock CSV exports for 9,99 €:</span>
<input type="email" id="userEmail" placeholder="Your email (match Ko-fi payment)" required>
<small style="display: block; font-size: 0.8em;">By entering your email, you agree to our <a href="privacy.html" target="_blank">Privacy Policy</a>. We store your email to process your purchase. Unlocking takes up to 12 hours.</small>
</div>
</div>
<a id="kofiLink" href="https://ko-fi.com/s/453f86f84a" target="_blank" style="display: none;">Buy Now (9,99 €)</a>
<div id="error" class="error"></div>
<div class="filter-container">
<input type="text" id="filterInput" placeholder="Filter table...">
</div>
<div class="container">
<div id="tableContainer"></div>
<div id="pagination" class="pagination"></div>
</div>
</div>
<footer class="footer">
<p>
Made with <3, Claude and Grok from Germany. Source on <a href="https://github.com/thisdev/json2table" target="_blank" rel="noopener">Github</a> | <a href="privacy.html" target="_blank">Privacy Policy</a>
</p>
</footer>
<script src="js/main.js"></script>
</body>
</html>