JSON-formatter
Maak JSON leesbaar, minificeer het of controleer of het geldig is. Opmerkingen, afsluitende komma’s en enkele aanhalingstekens zijn niet toegestaan. Zet niet om naar CSV.
Test een reguliere expressie op voorbeeldtekst en zie elke overeenkomst, de positie en de groepen.
Deze tool werkt in je browser. Invoer, bestanden en gegenereerde waarden blijven op dit apparaat. Favorieten en recent gebruikte tools bewaren, als je ze gebruikt, alleen toolnamen in de lokale opslag — nooit wachtwoorden, documenten of QR-inhoud. Lees het privacybeleid.
De uitgebreide handleiding voor deze tool (gebruik, voorbeelden en veelgestelde vragen) is voorlopig in het Engels.
Type a regular expression, choose flags, and paste the text you want to test. The page lists whether anything matched, how many matches it found, the matched text, where each match starts, and any capture groups.
Pattern \d+, flag g, text “Order 14 and order 3”. You get two matches, 14 at the first digit and 3 at the later digit.
Pattern Name: (\w+) on “Name: Sara” shows the full match and group 1 as Sara.
The page builds a JavaScript RegExp and runs it on the text you pasted. It does not eval the pattern as a script. A dot matches one character. * means zero or more, + means one or more, and ? means optional. Brackets match one character from a set. Parentheses capture a group. A bar means or. \d is a digit, \s is whitespace, and \w is a word character. Without g, only the first match is listed.
This uses the browser’s JavaScript regular expressions, which differ from some other engines. A pattern longer than 300 characters is rejected. A very slow pattern can still stall the tab. The page does not sandbox the match in a separate process. It will not run other JavaScript you type in the pattern box.
See the disclaimer for what these tools do not cover.
Maak JSON leesbaar, minificeer het of controleer of het geldig is. Opmerkingen, afsluitende komma’s en enkele aanhalingstekens zijn niet toegestaan. Zet niet om naar CSV.
Maak een SHA-256-, SHA-384- of SHA-512-digest van tekst in je browser. Het is een hash, geen versleuteling.
Zet een JSON-array van objecten om naar CSV, inclusief komma’s en aanhalingstekens in cellen.
Codeer tekst naar Base64 of decodeer het terug, met UTF-8. Iedereen kan het resultaat decoderen, dus het verbergt geen wachtwoord. Bestanden worden niet geaccepteerd.
Genereer een of meer UUID v4-waarden in je browser met een veilige willekeurige bron.
Codeer of decodeer URL-onderdelen in je browser met encodeURIComponent.
A dot matches one character. * means zero or more, + means one or more, and ? means optional. Square brackets match one character from a set. Parentheses capture a group. A bar means or. ^ and $ mark the start and end of a line when the m flag is on. \d is a digit, \s is whitespace, and \w is a word character. This page only builds a RegExp. It does not run other JavaScript from the pattern box.