File extension case converter
Convert the extension of every file name in a list to upper case, lower case or swapped case: only the part after the last dot changes, while directory names, dotfiles such as .gitignore and names without an extension stay as they are, with counts of processed, changed, already-matching and extension-less lines. No local file is read or modified.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Converted names
Only the extension after the final dot changes; directory names and the file name itself are untouched.
Paste your file-name list to see the converted names and the counts
What this tool does
- Normalize a file list copied from ls or a file manager to lower-case extensions before feeding it to a rename script.
- Tidy an image set: photo.JPEG and banner.PNG become .jpg and .png so one batch does not mix two spellings of the same format.
- Check an upload allow-list: convert extensions to upper case first so a rule written as .PDF does not silently miss files.
Example
Input
a.txt b.PDF archive.tar.gz
Output
a.TXT b.PDF archive.tar.GZ
With the default "suffix to upper case": 3 lines processed, 2 changed (.txt to .TXT, .gz to .GZ), while b.PDF already matches and stays as it is. For archive.tar.gz only the .gz after the last dot changes; the .tar part belongs to the file name.
Frequently asked questions
Which dot does it change?
The last one. archive.tar.gz only turns .gz into .GZ and report.v2.docx only turns .docx into .DOCX. If you also want .tar rewritten, treat .tar as part of the base name and handle it separately.
Are dotfiles and extension-less names changed?
No. Dotfiles such as .gitignore, names without any dot such as README, and names ending in a dot are left untouched and counted under "no extension".
Can a dot inside a directory name cause damage?
No. The dot must appear in the last path segment: in C:\Docs.v2\report the dot belongs to the directory, so the whole line is kept, while C:\Docs\report.docx only turns .docx into .DOCX.
Does it rename my actual files?
No. It only rewrites the pasted text; no disk access and no network. Use the batch file rename tool, or paste the result into a script, to rename real files.
What happens to blank lines?
Blank lines (including whitespace-only ones) are preserved to keep the list readable and are not counted in "lines processed". CRLF and CR line endings are normalized to LF in the output.
Keywords:file extension caseuppercase extensionlowercase extension